|
||||||||||
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.waveset.util.AuditLoggingError
For optionally throwing an exception across from AuditEventHandler to WSEvent. Subclass of RuntimeException to avoid changing the public interface of AuditEventHandler.logRecord(). Copied from RuntimeExceptionWrapper, that's where any unused routines came from.
Field Summary | |
static java.lang.String |
code_id
|
Constructor Summary | |
AuditLoggingError()
Construct a AuditLoggingError with no message or nested throwable. |
|
AuditLoggingError(java.lang.String message)
Construct a new AuditLoggingError with a detailed message. |
|
AuditLoggingError(java.lang.String message,
java.lang.Throwable e)
Create a new AuditLoggingError from an existing exception. |
|
AuditLoggingError(java.lang.Throwable e)
Construct a new AuditLoggingError wrapping an existing exception. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the root exception. |
java.lang.String |
getLocalizedMessage()
Return a localized message for this exception. |
java.lang.String |
getMessage()
Return a detail message for this exception. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream str)
|
void |
printStackTrace(java.io.PrintWriter out)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
public AuditLoggingError()
public AuditLoggingError(java.lang.String message)
public AuditLoggingError(java.lang.Throwable e)
The existing exception will be embedded in the new one, and its message will become the default message for the ExceptionWrapper.
public AuditLoggingError(java.lang.String message, java.lang.Throwable e)
The existing exception will be embedded in the new one, but the new exception will have its own message.
Method Detail |
public java.lang.Throwable getCause()
public java.lang.String getMessage()
If there is a embedded exception, and if this exception has no detail message of its own, getMessage method will return the detail message from the first embedded exception.
public java.lang.String getLocalizedMessage()
If there is a embedded exception, uses the embedded exception's localized message. Othermise returns super.getLocalizedMessage.
public void printStackTrace()
public void printStackTrace(java.io.PrintStream str)
public void printStackTrace(java.io.PrintWriter out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |