javax.xml.bind
Class UnmarshalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.bind.JAXBException
              extended by javax.xml.bind.UnmarshalException
All Implemented Interfaces:
Serializable

public class UnmarshalException
extends JAXBException

This exception indicates that an error has occurred while performing an unmarshal operation that prevents the JAXB Provider from completing the operation. The ValidationEventHandler can cause this exception to be thrown during the unmarshal operations. See ValidationEventHandler.handleEvent(ValidationEvent).

Since:
18-Oct-2004
Author:
Thomas.Diesler@jboss.org
See Also:
Serialized Form

Constructor Summary
UnmarshalException(String message)
          Construct a UnmarshalException with the specified detail message.
UnmarshalException(String message, String errorCode)
          Construct a UnmarshalException with the specified detail message and vendor specific errorCode.
UnmarshalException(String message, String errorCode, Throwable exception)
          Construct a UnmarshalException with the specified detail message, vendor specific errorCode, and linkedException.
UnmarshalException(String message, Throwable exception)
          Construct a UnmarshalException with the specified detail message and linkedException.
UnmarshalException(Throwable exception)
          Construct a UnmarshalException with a linkedException.
 
Method Summary
 
Methods inherited from class javax.xml.bind.JAXBException
getErrorCode, getLinkedException, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnmarshalException

public UnmarshalException(String message)
Construct a UnmarshalException with the specified detail message.


UnmarshalException

public UnmarshalException(String message,
                          String errorCode)
Construct a UnmarshalException with the specified detail message and vendor specific errorCode.


UnmarshalException

public UnmarshalException(String message,
                          String errorCode,
                          Throwable exception)
Construct a UnmarshalException with the specified detail message, vendor specific errorCode, and linkedException.


UnmarshalException

public UnmarshalException(String message,
                          Throwable exception)
Construct a UnmarshalException with the specified detail message and linkedException.


UnmarshalException

public UnmarshalException(Throwable exception)
Construct a UnmarshalException with a linkedException.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.