|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.workplace.wcm.api.exceptions.WCMException
public abstract class WCMException
The base Lotus Web Content Management API Exception.
| Field Summary | |
|---|---|
static int |
ERR_APTRIX
The default error code |
| Constructor Summary | |
|---|---|
WCMException(java.lang.String detail)
Constructor that requires detail |
|
WCMException(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 WCMException(java.lang.String detail)
detail - a message describing extra information about the exception
public WCMException(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 | ||||||||