org.exolab.castor.xml

Class MarshalException


public class MarshalException
extends XMLException

An exception that is used to signal marshalling exceptions.
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:10 $
Author:
Keith Visco

Field Summary

static String
BASE_CLASS_OR_VOID_ERR
static String
NON_SERIALIZABLE_ERR

Constructor Summary

MarshalException()
Creates a new MarshalException with no message or nested Exception.
MarshalException(Exception exception)
Creates a new MarshalException with the given nested exception.
MarshalException(String message)
Creates a new MarshalException with the given message.
MarshalException(String message, Exception exception)
Creates a new MarshalException with the given message and nested exception.
MarshalException(String message, Exception exception, int errorCode)
Creates a new MarshalException with the given message, nested exception, and errorCode.
MarshalException(String message, int errorCode)
Creates a new MarshalException with the given message.

Method Summary

Methods inherited from class org.exolab.castor.xml.XMLException

getException, printStackTrace, printStackTrace, printStackTrace, setLocation, toString

Methods inherited from class org.exolab.castor.xml.CastorException

getErrorCode, getMessage, setErrorCode, setMessage

Field Details

BASE_CLASS_OR_VOID_ERR

public static final String BASE_CLASS_OR_VOID_ERR

NON_SERIALIZABLE_ERR

public static final String NON_SERIALIZABLE_ERR

Constructor Details

MarshalException

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

MarshalException

public MarshalException(Exception exception)
Creates a new MarshalException with the given nested exception.
Parameters:
exception - the nested exception

MarshalException

public MarshalException(String message)
Creates a new MarshalException with the given message.
Parameters:
message - the message for this Exception

MarshalException

public MarshalException(String message,
                        Exception 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(String message,
                        Exception 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

MarshalException

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

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