javax.xml.bind
Class ElementNameRegisteredException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--javax.xml.bind.ElementNameRegisteredException
- All Implemented Interfaces:
- Serializable
- public class ElementNameRegisteredException
- extends RuntimeException
Unchecked exception thrown when an attempt is made to register an element
name with a dispatcher that already has a mapping for that name.
- Version:
- 1.12, 01/05/31
- See Also:
- Serialized Form
ElementNameRegisteredException
public ElementNameRegisteredException(String elt,
Class clazz)
- Constructs an instance of this class.
- Parameters:
elt - The element nameclazz - The target class
getElementName
public String getElementName()
- Retrieves the element name.
- Returns:
- The element name
getMessage
public String getMessage()
- Returns a string describing this exception.
- Overrides:
getMessage in class Throwable
- Returns:
- A string describing this exception
getTargetClass
public Class getTargetClass()
- Retrieves the target class.
- Returns:
- The target class
Comments to: jaxb-comments@java.sun.com
More information at: http://java.sun.com/xml/jaxb Copyright © 2001 by Sun Microsystems, Inc., 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.