|
FileNet Content Services Java Connector v3.0 |
||||||||||
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.filenet.wcm.api.BaseRuntimeException
This is an unchecked exception class from which other CS Java Connector unchecked exceptions are inherited. It is also used for a variety of Java-side conditions when a more appropriate exception class is not available. If you want to catch all unchecked exceptions thrown by the CS Java Connector, this is the type of exception to catch.
Constructor Summary | |
BaseRuntimeException()
|
|
BaseRuntimeException(java.lang.String s)
|
|
BaseRuntimeException(java.lang.String s,
int faultCode)
|
|
BaseRuntimeException(java.lang.String s,
java.lang.Integer faultCode)
|
Method Summary | |
int |
getFaultCode()
Returns the fault code, if any. |
void |
setFaultCode(int faultCode)
Internal use only. |
java.lang.String |
toString()
Returns the fault code, if any, appended to the returned String. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BaseRuntimeException()
public BaseRuntimeException(java.lang.String s)
public BaseRuntimeException(java.lang.String s, int faultCode)
public BaseRuntimeException(java.lang.String s, java.lang.Integer faultCode)
Method Detail |
public int getFaultCode()
Some exception types have an affiliated
numeric code to indicate that a specific problem has occurred. For example,
exceptions thrown as a result of problems on the Content Services server
typically propagate a SPI status code that a caller can access via
this method. SPI status codes and severity levels of the codes are defined
in the ContentEngineException
class.
public void setFaultCode(int faultCode)
public java.lang.String toString()
|
FileNet Content Services Java Connector v3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |