API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind. MarshalException View Source
Author(s)

Since
JAXB1.0
Version
$Revision: 1.2 $
Serial
Hierarchy
 Object
      Throwable
          Exception
              JAXBException
                  MarshalException
Implements
Subclasses
Description
public exception MarshalException
  This exception indicates that an error has occurred while performing a marshal operation that the provider is unable to recover from.
See also:    JAXBException Marshaller
Constructors
public MarshalException (String message)
  Construct a MarshalException with the specified detail message.
public MarshalException (String message, String errorCode)
  Construct a MarshalException with the specified detail message and vendor specific errorCode.
public MarshalException (String message, String errorCode, Throwable exception)
  Construct a MarshalException with the specified detail message, vendor specific errorCode, and linkedException.
public MarshalException (String message, Throwable exception)
  Construct a MarshalException with the specified detail message and linkedException.
public MarshalException (Throwable exception)
  Construct a MarshalException with a linkedException.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
@Override
public Throwable getCause () [Inherited From JAXBException]
public String getErrorCode () [Inherited From JAXBException]
  Get the vendor specific error code
public Throwable getLinkedException () [Inherited From JAXBException]
  Get the linked exception
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Inherited From JAXBException]
Prints this JAXBException and its stack trace (including the stack trace of the linkedException if it is non-null) to System.err.
public void printStackTrace (PrintStream s) [Inherited From JAXBException]
  Prints this JAXBException and its stack trace (including the stack trace of the linkedException if it is non-null) to the PrintStream.
public void printStackTrace (PrintWriter s) [Inherited From JAXBException]
  Prints this JAXBException and its stack trace (including the stack trace of the linkedException if it is non-null) to the PrintWriter.
publicsynchronized void setLinkedException (Throwable exception) [Inherited From JAXBException]
  Add a linked Exception.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From JAXBException]
Returns a short description of this JAXBException.
Fields
Hide/Show inherited fields
pack-privatefinalstatic long serialVersionUID = "-5621384651494307979" [Inherited From JAXBException]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar