JAXB
v0.21

javax.xml.bind
Class UndefinedIdentifierException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.xml.bind.UnmarshalException
                    |
                    +--javax.xml.bind.ValidationException
                          |
                          +--javax.xml.bind.StructureValidationException
                                |
                                +--javax.xml.bind.GlobalValidationException
                                      |
                                      +--javax.xml.bind.UndefinedIdentifierException
All Implemented Interfaces:
Serializable

public class UndefinedIdentifierException
extends GlobalValidationException

Checked exception thrown when an identifier that is used but not defined is detected.

Version:
1.12, 01/05/31
See Also:
Serialized Form

Constructor Summary
UndefinedIdentifierException(String id)
          Constructs an instance of this class.
 
Method Summary
 String getIdentifier()
          Retrieves the undefined identifier value.
 String getMessage()
          Returns a string describing this exception.
 
Methods inherited from class javax.xml.bind.UnmarshalException
getPosition, initPosition
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UndefinedIdentifierException

public UndefinedIdentifierException(String id)
Constructs an instance of this class.

Parameters:
id - The undefined identifier value
Method Detail

getIdentifier

public String getIdentifier()
Retrieves the undefined identifier value.

Returns:
The undefined identifier value

getMessage

public String getMessage()
Returns a string describing this exception.
Overrides:
getMessage in class Throwable
Returns:
A string describing this exception

JAXB
v0.21


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.