|
||||||||||
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
org.codehaus.xfire.XFireRuntimeException
public class XFireRuntimeException
Used for internal XFire exceptions when a fault shouldn't be returned to the service invoker.
Constructor Summary | |
---|---|
XFireRuntimeException(java.lang.String message)
Constructs a new xfire runtime exception with the specified detail message. |
|
XFireRuntimeException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new xfire runtime exception with the specified detail message and cause. |
Method Summary | |
---|---|
java.lang.String |
getActualMessage()
|
java.lang.Throwable |
getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown. |
java.lang.String |
getMessage()
Return the detail message, including the message from the nested exception if there is one. |
void |
prepend(java.lang.String message)
|
void |
printStackTrace(java.io.PrintStream s)
Prints this throwable and its backtrace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter w)
Prints this throwable and its backtrace to the specified print writer. |
void |
setMessage(java.lang.String s)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XFireRuntimeException(java.lang.String message)
message
- the detail message.public XFireRuntimeException(java.lang.String message, java.lang.Throwable cause)
message
- the detail message.cause
- the cause.Method Detail |
---|
public java.lang.Throwable getCause()
null
if the cause is nonexistent or unknown.
getCause
in class java.lang.Throwable
public java.lang.String getMessage()
nested exception
if there is one.
getMessage
in class java.lang.Throwable
public java.lang.String getActualMessage()
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter w)
printStackTrace
in class java.lang.Throwable
w
- PrintWriter
to use for outputpublic void prepend(java.lang.String message)
public void setMessage(java.lang.String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |