org.exolab.castor.xml
Class MarshalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.exolab.castor.core.exceptions.CastorException
              extended by org.exolab.castor.xml.XMLException
                  extended by org.exolab.castor.xml.MarshalException
All Implemented Interfaces:
java.io.Serializable

public class MarshalException
extends XMLException

An exception that is used to signal marshalling exceptions.

Version:
$Revision: 8870 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Author:
Keith Visco
See Also:
Serialized Form

Field Summary
static java.lang.String BASE_CLASS_OR_VOID_ERR
           
static java.lang.String NON_SERIALIZABLE_ERR
           
 
Constructor Summary
MarshalException()
          Creates a new MarshalException with no message or nested exception.
MarshalException(java.lang.String message)
          Creates a new MarshalException with the given message.
MarshalException(java.lang.String message, int errorCode)
          Deprecated.  
MarshalException(java.lang.String message, java.lang.Throwable exception)
          Creates a new MarshalException with the given message and nested exception.
MarshalException(java.lang.String message, java.lang.Throwable exception, int errorCode)
          Deprecated.  
MarshalException(java.lang.Throwable exception)
          Creates a new MarshalException with the given nested exception.
 
Method Summary
 
Methods inherited from class org.exolab.castor.xml.XMLException
getErrorCode, setErrorCode, setLocation, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Field Detail

BASE_CLASS_OR_VOID_ERR

public static final java.lang.String BASE_CLASS_OR_VOID_ERR
See Also:
Constant Field Values

NON_SERIALIZABLE_ERR

public static final java.lang.String NON_SERIALIZABLE_ERR
See Also:
Constant Field Values
Constructor Detail

MarshalException

public MarshalException()
Creates a new MarshalException with no message or nested exception.


MarshalException

public MarshalException(java.lang.String message)
Creates a new MarshalException with the given message.

Parameters:
message - the message for this exception

MarshalException

public MarshalException(java.lang.String message,
                        int errorCode)
Deprecated. 

Creates a new MarshalException with the given message and an error code.

Parameters:
message - the message for this exception
errorCode - the error code for this exception

MarshalException

public MarshalException(java.lang.Throwable exception)
Creates a new MarshalException with the given nested exception.

Parameters:
exception - the nested exception

MarshalException

public MarshalException(java.lang.String message,
                        java.lang.Throwable exception)
Creates a new MarshalException with the given message and nested exception.

Parameters:
message - the detail message for this exception
exception - the nested exception

MarshalException

public MarshalException(java.lang.String message,
                        java.lang.Throwable exception,
                        int errorCode)
Deprecated. 

Creates a new MarshalException with the given message, nested exception, and error code.

Parameters:
message - the detail message for this exception
exception - the nested exception
errorCode - the error code for this Exception


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com