javax.xml.bind
Class UnrecognizedElementNameException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.xml.bind.UnmarshalException
|
+--javax.xml.bind.ValidationException
|
+--javax.xml.bind.StructureValidationException
|
+--javax.xml.bind.LocalValidationException
|
+--javax.xml.bind.InvalidContentException
|
+--javax.xml.bind.UnrecognizedElementNameException
- All Implemented Interfaces:
- Serializable
- public class UnrecognizedElementNameException
- extends InvalidContentException
Checked exception thrown when an element name not registered with the
dispatcher currently being used is parsed.
- Version:
- 1.12, 01/05/31
- See Also:
- Serialized Form
UnrecognizedElementNameException
public UnrecognizedElementNameException(String elt)
- Constructs an instance of this class.
- Parameters:
elt - The name of the unrecognized element
getElementName
public String getElementName()
- Retrieves the name of the unrecognized element.
- Returns:
- The name of the unrecognized element
getMessage
public String getMessage()
- Returns a string describing this exception.
- Overrides:
getMessage in class InvalidContentException
- Returns:
- A string describing this exception
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.