javax.xml.bind
Class JAXBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.bind.JAXBException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MarshalException, PropertyException, UnmarshalException, ValidationException

public class JAXBException
extends Exception

See Also:
Serialized Form

Constructor Summary
JAXBException(String message)
           
JAXBException(String message, String errorCode)
           
JAXBException(String message, String errorCode, Throwable cause)
           
JAXBException(String message, Throwable cause)
           
JAXBException(Throwable cause)
           
 
Method Summary
 Throwable getCause()
           
 String getErrorCode()
           
 Throwable getLinkedException()
           
 void setLinkedException(Throwable linkedException)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAXBException

public JAXBException(String message)

JAXBException

public JAXBException(String message,
                     String errorCode)

JAXBException

public JAXBException(String message,
                     String errorCode,
                     Throwable cause)

JAXBException

public JAXBException(String message,
                     Throwable cause)

JAXBException

public JAXBException(Throwable cause)
Method Detail

getErrorCode

public String getErrorCode()

getLinkedException

public Throwable getLinkedException()

setLinkedException

public void setLinkedException(Throwable linkedException)

toString

public String toString()
Overrides:
toString in class Throwable

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.