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: * Invalid relation type.
12: * This exception is raised when, in a relation type, there is already a
13: * relation type with that name, or the same name has been used for two
14: * different role infos, or no role info provided, or one null role info
15: * provided.
16: *
17: *
18: * @author <a href="mailto:young_yy@hotmail.org">Young Yang</a>
19: */
20:
21: public class InvalidRelationTypeException extends RelationException {
22:
23: /**
24: * Default constructor, no message put in exception
25: */
26: public InvalidRelationTypeException() {
27: super ();
28: }
29:
30: /**
31: * Constructor with given message put in exception
32: */
33: public InvalidRelationTypeException(String message) {
34: super(message);
35: }
36: }
|