Home » Castor-1.3-src » org.exolab.castor » xml » [javadoc | source]
org.exolab.castor.xml
public class: MarshalException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         org.exolab.castor.core.exceptions.CastorException
            org.exolab.castor.xml.XMLException
               org.exolab.castor.xml.MarshalException

All Implemented Interfaces:
    Serializable

An exception that is used to signal marshalling exceptions.
Field Summary
public static final  String BASE_CLASS_OR_VOID_ERR     
public static final  String NON_SERIALIZABLE_ERR     
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public MarshalException() 
 public MarshalException(String message) 
    Creates a new MarshalException with the given message.
    Parameters:
    message - the message for this Exception
 public MarshalException(Throwable exception) 
    Creates a new MarshalException with the given nested exception.
    Parameters:
    exception - the nested exception
 public MarshalException(String message,
    int errorCode) 
    Creates a new MarshalException with the given message.
    Parameters:
    message - the message for this Exception
    errorCode - the errorCode for this Exception *
 public MarshalException(String message,
    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 *
 public MarshalException(String message,
    Throwable exception,
    int errorCode) 
    Creates a new MarshalException with the given message, nested exception, and errorCode.
    Parameters:
    message - the detail message for this exception
    exception - the nested exception
    errorCode - the errorCode for this Exception
Methods from org.exolab.castor.xml.XMLException:
getErrorCode,   setErrorCode,   setLocation,   toString
Methods from org.exolab.castor.core.exceptions.CastorException:
getCause,   getMessage,   initCause,   printStackTrace,   printStackTrace,   printStackTrace
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait