org.exolab.castor.xml
Class XMLException
public class XMLException
An exception that is used to signal an error that
has occured during marshalling or unmarshalling.
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:16 $XMLException() - Creates a new XMLException with no message
or nested Exception.
|
XMLException(Exception exception) - Creates a new XMLException with the given nested
exception.
|
XMLException(String message) - Creates a new XMLException with the given message.
|
XMLException(String message, Exception exception) - Creates a new XMLException with the given message
and nested exception.
|
XMLException(String message, Exception exception, int errorCode) - Creates a new XMLException with the given message,
nested exception, and errorCode.
|
XMLException(String message, int errorCode) - Creates a new XMLException with the given message.
|
XMLException
public XMLException()
Creates a new XMLException with no message
or nested Exception.
XMLException
public XMLException(Exception exception)
Creates a new XMLException with the given nested
exception.
exception
- the nested exception
XMLException
public XMLException(String message)
Creates a new XMLException with the given message.
message
- the message for this Exception
XMLException
public XMLException(String message,
Exception exception)
Creates a new XMLException with the given message
and nested exception.
message
- the detail message for this exceptionexception
- the nested exception
XMLException
public XMLException(String message,
Exception exception,
int errorCode)
Creates a new XMLException with the given message,
nested exception, and errorCode.
message
- the detail message for this exceptionexception
- the nested exceptionerrorCode
- the errorCode for this Exception
XMLException
public XMLException(String message,
int errorCode)
Creates a new XMLException with the given message.
message
- the message for this ExceptionerrorCode
- the errorCode for this Exception
getException
public Exception getException()
Returns the exception, which in turn caused this Exception to
be thrown, or null if nested exception exists.
- the exception, which in turn caused this Exception to
be thrown, or null if nested exception exists.
printStackTrace
public void printStackTrace()
printStackTrace
public void printStackTrace(PrintStream printer)
printStackTrace
public void printStackTrace(PrintWriter printer)
setLocation
public void setLocation(Location location)
Sets the location information for this Exception
toString
public String toString()
Returns the String representation of this Exception.
- the String representation of this Exception.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com