public class EcmRuntimeException extends RuntimeException
Constructor and Description |
---|
EcmRuntimeException(ErrorConstantType errorCode)
Creates a new exception with the given error code.
|
EcmRuntimeException(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.
|
EcmRuntimeException(ErrorConstantType errorCode,
ErrorDetailsType errorDetails,
String message,
Throwable cause)
Creates a new exception with the given error code, error details, exception cause and exception message.
|
EcmRuntimeException(ErrorConstantType errorCode,
String message)
Creates a new exception with the given error code and exception message.
|
EcmRuntimeException(ErrorConstantType errorCode,
String message,
Throwable cause)
Creates a new exception with the given error code and exception cause.
|
EcmRuntimeException(ErrorConstantType errorCode,
Throwable cause)
Creates a new exception with the given error code and exception cause.
|
EcmRuntimeException(ErrorType error,
Throwable cause)
Deserialization constructor.
|
Modifier and Type | Method and Description |
---|---|
ErrorType |
createError()
Creates a new server fault 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, toString
public EcmRuntimeException(ErrorConstantType errorCode)
errorCode
- the error codepublic EcmRuntimeException(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 EcmRuntimeException(ErrorConstantType errorCode, ErrorDetailsType errorDetails, String message, Throwable cause)
errorCode
- the error codeerrorDetails
- the error detailsmessage
- the exception messagecause
- the exception causepublic EcmRuntimeException(ErrorConstantType errorCode, String message)
errorCode
- the error codemessage
- the exception messagepublic EcmRuntimeException(ErrorConstantType errorCode, Throwable cause)
errorCode
- the error codecause
- the exception causepublic EcmRuntimeException(ErrorConstantType errorCode, String message, Throwable cause)
message
- the error messageerrorCode
- the error codecause
- the exception causepublic ErrorType createError()
public Map<String,String> getDescriptionParameters()
public ErrorCodeType getErrorCode()
public ErrorDetailsType getErrorDetails()
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.