de.ispsoft.jaxme.jaxb
Class MarshalException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byde.ispsoft.jaxme.jaxb.JAXBException
              extended byde.ispsoft.jaxme.jaxb.MarshalException
All Implemented Interfaces:
java.io.Serializable

Deprecated. Soon to be replaced with javax.xml.bind.MarshalException

public class MarshalException
extends JAXBException

This exception indicates that an error has occured while performing a marshal operation that the provider is unable to recover from. The unmarshal operation is terminated and the resulting Java content tree, if any, is incomplete. TODO: Need to try to specify what happens to the content tree when this event occurs. Does it leave the try unmodified, does it modify the tree and leave it in an invalid state, etc.

Since:
JAXB1.0
Version:
$Revision: 1.1 $
Author:
See Also:
JAXBException, Marshaller, Serialized Form

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

Constructor Detail

MarshalException

public MarshalException(java.lang.String message)
Deprecated. 
Construct a MarshalException with the specified detail message. The errorCode and linkedException will default to null.

Parameters:
message - a description of the exception

MarshalException

public MarshalException(java.lang.String message,
                        java.lang.String errorCode)
Deprecated. 
Construct a MarshalException with the specified detail message and vendor specific errorCode. The linkedException will default to null.

Parameters:
message - a description of the exception
errorCode - a string specifying the vendor specific error code

MarshalException

public MarshalException(java.lang.Throwable exception)
Deprecated. 
Construct a MarshalException with a linkedException. The detail message and vendor specific errorCode will default to null.

Parameters:
exception - the linked exception

MarshalException

public MarshalException(java.lang.String message,
                        java.lang.Throwable exception)
Deprecated. 
Construct a MarshalException with the specified detail message and linkedException. The errorCode will default to null.

Parameters:
message - a description of the exception
exception - the linked exception

MarshalException

public MarshalException(java.lang.String message,
                        java.lang.String errorCode,
                        java.lang.Throwable exception)
Deprecated. 
Construct a MarshalException with the specified detail message and vendor specific errorCode. The linkedException will default to null.

Parameters:
message - a description of the exception
errorCode - a string specifying the vendor specific error code
exception - the linked exception