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 8 package javax.management.relation; 9 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 * @since 1.5 18 */ 19 public class InvalidRelationTypeException extends RelationException { 20 21 /* Serial version */ 22 private static final long serialVersionUID = 3007446608299169961L; 23 24 /** 25 * Default constructor, no message put in exception. 26 */ 27 public InvalidRelationTypeException() { 28 super(); 29 } 30 31 /** 32 * Constructor with given message put in exception. 33 * 34 * @param message the detail message. 35 */ 36 public InvalidRelationTypeException(String message) { 37 super(message); 38 } 39 } 40