public class ClientException extends EcmRuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
ClientException.ClientError
Error code implementation for security exceptions.
|
Modifier | Constructor and Description |
---|---|
protected |
ClientException(ClientException.ClientError errorCode)
Creates a new exception with the given error code.
|
protected |
ClientException(ClientException.ClientError errorCode,
ErrorDetailsType errorDetails,
Map<String,String> parameters,
String message,
Throwable cause)
Creates a new exception with the given error code, error details, error parameters, exception cause and exception
message.
|
protected |
ClientException(ClientException.ClientError errorCode,
ErrorDetailsType errorDetails,
String message,
Throwable cause)
Creates a new exception with the given error code, error details, exception cause and exception message.
|
protected |
ClientException(ClientException.ClientError errorCode,
String message)
Creates a new exception with the given error code and exception message.
|
protected |
ClientException(ClientException.ClientError errorCode,
Throwable cause)
Creates a new exception with the given error code and exception cause.
|
|
ClientException(ErrorType error,
Throwable cause)
Exception factory constructor.
|
|
ClientException(String message)
Creates a new exception with the given exception message.
|
|
ClientException(String message,
Throwable cause,
ErrorDetailsType errorDetails)
Creates a new exception with the given error details, exception cause and exception message.
|
|
ClientException(Throwable cause)
Creates a new exception with the given exception cause.
|
createError, getDescriptionParameters, getErrorCode, getErrorDetails
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClientException(String message)
message
- the exception messagepublic ClientException(Throwable cause)
cause
- the exception causepublic ClientException(String message, Throwable cause, ErrorDetailsType errorDetails)
errorDetails
- the error detailsmessage
- the exception messagecause
- the exception causepublic ClientException(ErrorType error, Throwable cause)
error
- the server error .cause
- the error causeprotected ClientException(ClientException.ClientError errorCode)
errorCode
- the error codeprotected ClientException(ClientException.ClientError errorCode, ErrorDetailsType errorDetails, Map<String,String> parameters, String message, Throwable cause)
errorCode
- the error codeerrorDetails
- the error detailsparameters
- the error parametersmessage
- the exception messagecause
- the exception causeprotected ClientException(ClientException.ClientError errorCode, ErrorDetailsType errorDetails, String message, Throwable cause)
errorCode
- the error codeerrorDetails
- the error detailsmessage
- the exception messagecause
- the exception causeprotected ClientException(ClientException.ClientError errorCode, String message)
errorCode
- the error codemessage
- the exception messageprotected ClientException(ClientException.ClientError errorCode, Throwable cause)
errorCode
- the error codecause
- the exception causeCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.