|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.ibm.workplace.wcm.api.exceptions.WCMRuntimeException
The base Lotus Workplace Web Content Management API Runtime Exception.
| Field Summary | |
static int |
ERR_APTRIX
The default error code |
| Constructor Summary | |
WCMRuntimeException(java.lang.String detail)
Constructor that requires detail |
|
WCMRuntimeException(java.lang.String detail,
java.lang.Throwable cause)
Constructor that requires detail plus a cause exception |
|
| Method Summary | |
java.lang.Throwable |
getCause()
Retrieves the cause exception for this exception |
int |
getErrorCode()
The error code for this exception. |
java.lang.String |
getMessage()
Retrieves the message that accompanies this exception. |
void |
printStackTrace()
Overridden to include cause |
void |
printStackTrace(java.io.PrintStream s)
Overridden to include cause |
void |
printStackTrace(java.io.PrintWriter s)
Overridden to include cause |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ERR_APTRIX
| Constructor Detail |
public WCMRuntimeException(java.lang.String detail)
detail - a message describing extra information about the exception
public WCMRuntimeException(java.lang.String detail,
java.lang.Throwable cause)
detail - a message description extra information about the exceptioncause - the exception that caused this exception| Method Detail |
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic int getErrorCode()
Note:This implementation is the default error code for the AptrixException. Subclasses may override this for a more appropriate error number.
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||