java.io.Serializable
PersistenceException
, XMLException
public class CastorException
extends java.lang.Exception
Constructor | Description |
---|---|
CastorException() |
Creates a new CastorException with no message, or nested Exception
|
CastorException(java.lang.String message) |
Creates a new CastorException with the given message.
|
CastorException(java.lang.String message,
java.lang.Throwable cause) |
Creates a new CastorException with the given message and cause.
|
CastorException(java.lang.Throwable cause) |
Creates a new CastorException with the given cause.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.
|
java.lang.String |
getMessage() |
Return the detailed message from this Exception.
|
java.lang.Throwable |
initCause(java.lang.Throwable cause) |
Match the JDK 1.4 Throwable version of initCause() on JDK<1.4 systems.
|
void |
printStackTrace() |
Print a stack trace to stderr.
|
void |
printStackTrace(java.io.PrintStream s) |
Print a stack trace to the specified PrintStream.
|
void |
printStackTrace(java.io.PrintWriter w) |
Print a stack trace to the specified PrintWriter.
|
public CastorException()
public CastorException(java.lang.String message)
message
- the message for this Exceptionpublic CastorException(java.lang.String message, java.lang.Throwable cause)
message
- The message for this exception.cause
- A Throwable instance.public CastorException(java.lang.Throwable cause)
cause
- A Throwable instance.public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause
in class java.lang.Throwable
cause
- The throwable you wish to attach to this exception as the 'cause' of the exception.public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- The PrintStream to print a stack trace to.public void printStackTrace(java.io.PrintWriter w)
printStackTrace
in class java.lang.Throwable
w
- The PrintWriter to print a stack trace to.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com