1. /*
  2. * @(#)InvalidRelationTypeException.java 1.15 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. package javax.management.relation;
  8. /**
  9. * Invalid relation type.
  10. * This exception is raised when, in a relation type, there is already a
  11. * relation type with that name, or the same name has been used for two
  12. * different role infos, or no role info provided, or one null role info
  13. * provided.
  14. *
  15. * @since 1.5
  16. */
  17. public class InvalidRelationTypeException extends RelationException {
  18. /* Serial version */
  19. private static final long serialVersionUID = 3007446608299169961L;
  20. /**
  21. * Default constructor, no message put in exception.
  22. */
  23. public InvalidRelationTypeException() {
  24. super();
  25. }
  26. /**
  27. * Constructor with given message put in exception.
  28. *
  29. * @param message the detail message.
  30. */
  31. public InvalidRelationTypeException(String message) {
  32. super(message);
  33. }
  34. }