|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.alfresco.cmis.CMISServiceException
public abstract class CMISServiceException
A base class for all exceptions that map to CMIS SOAP faults / HTTP error codes. Intentionally a checked non-RuntimeException so that the faults codes are propagated and signalled correctly.
| Constructor Summary | |
|---|---|
CMISServiceException(java.lang.String message,
java.lang.String faultName,
int statusCode)
Instantiates a new CMIS Service exception. |
|
CMISServiceException(java.lang.String message,
java.lang.Throwable cause,
java.lang.String faultName,
int errorCode)
Instantiates a new CMIS Service exception. |
|
CMISServiceException(java.lang.Throwable cause,
java.lang.String faultName,
int errorCode)
Instantiates a new CMIS Service exception. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFaultName()
Gets the fault name. |
int |
getStatusCode()
Gets the status code. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CMISServiceException(java.lang.String message,
java.lang.String faultName,
int statusCode)
message - the messagefaultName - the fault name, as per the CMIS specstatusCode - the status code, as per the CMIS REST binding
public CMISServiceException(java.lang.Throwable cause,
java.lang.String faultName,
int errorCode)
cause - the causefaultName - the fault name, as per the CMIS specstatusCode - the status code, as per the CMIS REST binding
public CMISServiceException(java.lang.String message,
java.lang.Throwable cause,
java.lang.String faultName,
int errorCode)
message - the messagecause - the causefaultName - the fault name, as per the CMIS specstatusCode - the status code, as per the CMIS REST binding| Method Detail |
|---|
public java.lang.String getFaultName()
public int getStatusCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||