|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.opensymphony.xwork.XworkException
XworkException
Constructor Summary | |
XworkException()
Constructs a XworkException with no detail message. |
|
XworkException(String s)
Constructs a XworkException with the specified
detail message. |
|
XworkException(String s,
Throwable cause)
Constructs a XworkException with the specified
detail message. |
|
XworkException(Throwable cause)
Constructs a XworkException with no detail message. |
Method Summary | |
Throwable |
getThrowable()
|
void |
printStackTrace(PrintStream s)
Prints this Throwable and its backtrace to the
specified print stream. |
void |
printStackTrace(PrintWriter s)
Prints this Throwable and its backtrace to the specified
print writer. |
String |
toString()
Returns a short description of this throwable object. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XworkException()
XworkException
with no detail message.
public XworkException(String s)
XworkException
with the specified
detail message.
s
- the detail message.public XworkException(Throwable cause)
XworkException
with no detail message.
public XworkException(String s, Throwable cause)
XworkException
with the specified
detail message.
s
- the detail message.Method Detail |
public Throwable getThrowable()
public void printStackTrace(PrintStream s)
Throwable
and its backtrace to the
specified print stream.
s
- PrintStream
to use for outputpublic void printStackTrace(PrintWriter s)
Throwable
and its backtrace to the specified
print writer.
s
- PrintWriter
to use for outputpublic String toString()
Throwable
object was
created
with an error message string,
then the result is the concatenation of three strings:
Throwable.getMessage()
method for this object
Throwable
object was created
with no error message string, then the name of the actual class of
this object is returned.
Throwable
.
|
XWork Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |