public abstract class CmisBaseException extends RuntimeException
Modifier | Constructor and Description |
---|---|
protected |
CmisBaseException()
Default constructor.
|
protected |
CmisBaseException(String message)
Constructor.
|
protected |
CmisBaseException(String message,
BigInteger code)
Constructor.
|
protected |
CmisBaseException(String message,
BigInteger code,
String errorContent)
Constructor.
|
protected |
CmisBaseException(String message,
BigInteger code,
Throwable cause)
Constructor.
|
protected |
CmisBaseException(String message,
String errorContent)
Constructor.
|
protected |
CmisBaseException(String message,
String errorContent,
Throwable cause)
Constructor.
|
protected |
CmisBaseException(String message,
Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getCode()
Returns the error code sent by the CMIS repository (Web Services binding
only).
|
String |
getErrorContent()
Returns the content of the error page sent by the web server.
|
abstract String |
getExceptionName()
Returns the name of the exception as defined in the CMIS specification.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected CmisBaseException()
protected CmisBaseException(String message, BigInteger code, Throwable cause)
message
- error messagecode
- error codecause
- the causeprotected CmisBaseException(String message, String errorContent, Throwable cause)
message
- error messageerrorContent
- error page contentcause
- the causeprotected CmisBaseException(String message, BigInteger code)
message
- error messagecode
- error codeprotected CmisBaseException(String message, BigInteger code, String errorContent)
message
- error messagecode
- error codeerrorContent
- error page contentprotected CmisBaseException(String message, String errorContent)
message
- error messageerrorContent
- error page contentprotected CmisBaseException(String message, Throwable cause)
message
- error messagecause
- the causeprotected CmisBaseException(String message)
message
- error messagepublic BigInteger getCode()
null
if the CMIS repository didn't
send an error code or the binding doesn't support error codes.public String getErrorContent()
null
if the server
didn't send text content.public abstract String getExceptionName()
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.