01: /* JFox, the OpenSource J2EE Application Server
02: *
03: * Copyright (C) 2002 huihoo.org
04: * Distributable under GNU LGPL license
05: * See the GNU Lesser General Public License for more details.
06: */
07:
08: package javax.management.relation;
09:
10: /**
11: * This exception is raised when, in a role. the number of referenced MBeans
12: * in given value is less than expected minimum degree, or the number of
13: * referenced MBeans in provided value exceeds expected maximum degree, or
14: * one referenced MBean in the value is not an Object of the MBean
15: * class expected for that role, or a MBean provided for that role does not
16: * exist
17: *
18: * @author <a href="mailto:young_yy@hotmail.org">Young Yang</a>
19: */
20:
21: public class InvalidRoleValueException extends RelationException {
22:
23: /**
24: * Default constructor, no message put in exception
25: */
26: public InvalidRoleValueException() {
27: super ();
28: }
29:
30: /**
31: * Constructor with given message put in exception
32: */
33: public InvalidRoleValueException(String message) {
34: super(message);
35: }
36: }
|