public class EcmException extends Exception
| Constructor and Description |
|---|
EcmException(ErrorConstantType errorCode)
Creates a new exception with the given error code.
|
EcmException(ErrorConstantType 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.
|
EcmException(ErrorConstantType errorCode,
ErrorDetailsType errorDetails,
String message,
Throwable cause)
Creates a new exception with the given error code, error details, exception cause and exception message.
|
EcmException(ErrorConstantType errorCode,
String message)
Creates a new exception with the given error code and exception message.
|
EcmException(ErrorConstantType errorCode,
String message,
ErrorDetailsType errorDetails)
Creates a new exception with the given error code and exception message.
|
EcmException(ErrorConstantType errorCode,
Throwable cause)
Creates a new exception with the given error code and exception cause.
|
EcmException(ErrorConstantType errorCode,
Throwable cause,
ErrorDetailsType errorDetails)
Creates a new exception with the given error code and exception cause.
|
EcmException(ErrorType error,
Throwable cause)
Deserialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorType |
createError()
Creates a new error representation for this exception.
|
Map<String,String> |
getDescriptionParameters()
Returns the error description parameters.
|
ErrorCodeType |
getErrorCode()
Returns the exception error code.
|
ErrorDetailsType |
getErrorDetails()
Returns the exception error details.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic EcmException(ErrorConstantType errorCode)
errorCode - the error codepublic EcmException(ErrorConstantType 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 causepublic EcmException(ErrorConstantType errorCode, ErrorDetailsType errorDetails, String message, Throwable cause)
errorCode - the error codeerrorDetails - the error detailsmessage - the exception messagecause - the exception causepublic EcmException(ErrorConstantType errorCode, String message)
errorCode - the error codemessage - the exception messagepublic EcmException(ErrorConstantType errorCode, String message, ErrorDetailsType errorDetails)
errorCode - the error codemessage - the exception messageerrorDetails - the error detailspublic EcmException(ErrorConstantType errorCode, Throwable cause)
errorCode - the error codecause - the exception causepublic EcmException(ErrorConstantType errorCode, Throwable cause, ErrorDetailsType errorDetails)
errorCode - the error codecause - the exception causeerrorDetails - the error detailspublic ErrorType createError()
public Map<String,String> getDescriptionParameters()
public ErrorCodeType getErrorCode()
public ErrorDetailsType getErrorDetails()
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.