KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > management > relation > InvalidRoleValueException


1 /*
2  * @(#)InvalidRoleValueException.java 1.17 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.management.relation;
9
10 /**
11  * Role value is invalid.
12  * This exception is raised when, in a role, the number of referenced MBeans
13  * in given value is less than expected minimum degree, or the number of
14  * referenced MBeans in provided value exceeds expected maximum degree, or
15  * one referenced MBean in the value is not an Object of the MBean
16  * class expected for that role, or an MBean provided for that role does not
17  * exist.
18  *
19  * @since 1.5
20  */

21 public class InvalidRoleValueException extends RelationException JavaDoc {
22
23     /* Serial version */
24     private static final long serialVersionUID = -2066091747301983721L;
25
26     /**
27      * Default constructor, no message put in exception.
28      */

29     public InvalidRoleValueException() {
30     super();
31     }
32
33     /**
34      * Constructor with given message put in exception.
35      *
36      * @param message the detail message.
37      */

38     public InvalidRoleValueException(String JavaDoc message) {
39     super(message);
40     }
41 }
42
Popular Tags