public class ApplicationException extends EcmException
Modifier and Type | Class and Description |
---|---|
static class |
ApplicationException.ApplicationError
Error code implementation for application exceptions.
|
Modifier | Constructor and Description |
---|---|
|
ApplicationException()
Default constuctor.
|
protected |
ApplicationException(ApplicationException.ApplicationError errorCode)
Creates a new exception with the given error code.
|
protected |
ApplicationException(ApplicationException.ApplicationError errorCode,
Map<String,String> parameters,
String message,
Throwable cause,
ErrorDetailsType errorDetails)
Creates a new exception with the given error code, error details, error parameters, exception cause and exception
message.
|
protected |
ApplicationException(ApplicationException.ApplicationError errorCode,
String message)
Creates a new exception with the given error code and exception message.
|
protected |
ApplicationException(ApplicationException.ApplicationError errorCode,
String message,
ErrorDetailsType errorDetails)
Creates a new exception with the given error code and exception message.
|
protected |
ApplicationException(ApplicationException.ApplicationError errorCode,
String message,
Throwable cause,
ErrorDetailsType errorDetails)
Creates a new exception with the given error code, error details, exception cause and exception message.
|
protected |
ApplicationException(ApplicationException.ApplicationError errorCode,
Throwable cause)
Creates a new exception with the given error code and exception cause.
|
protected |
ApplicationException(ApplicationException.ApplicationError errorCode,
Throwable cause,
ErrorDetailsType errorDetails)
Creates a new exception with the given error code and exception cause.
|
|
ApplicationException(ErrorType fault,
Throwable cause)
Exception factory constructor.
|
|
ApplicationException(String message)
Creates a new exception with the given exception message.
|
|
ApplicationException(String message,
Throwable cause,
ErrorDetailsType errorDetails)
Creates a new exception with the given error details, exception cause and exception message.
|
|
ApplicationException(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 ApplicationException()
public ApplicationException(ErrorType fault, Throwable cause)
fault
- the server fault.cause
- the exception causepublic ApplicationException(String message)
message
- the exception messagepublic ApplicationException(String message, Throwable cause, ErrorDetailsType errorDetails)
errorDetails
- the error detailsmessage
- the exception messagecause
- the exception causepublic ApplicationException(Throwable cause)
cause
- the exception causeprotected ApplicationException(ApplicationException.ApplicationError errorCode)
errorCode
- the error codeprotected ApplicationException(ApplicationException.ApplicationError errorCode, Map<String,String> parameters, String message, Throwable cause, ErrorDetailsType errorDetails)
errorCode
- the error codeparameters
- the error parametersmessage
- the exception messagecause
- the exception causeerrorDetails
- the error detailsprotected ApplicationException(ApplicationException.ApplicationError errorCode, String message, Throwable cause, ErrorDetailsType errorDetails)
errorCode
- the error codemessage
- the exception messagecause
- the exception causeerrorDetails
- the error detailsprotected ApplicationException(ApplicationException.ApplicationError errorCode, String message)
errorCode
- the error codemessage
- the exception messageprotected ApplicationException(ApplicationException.ApplicationError errorCode, Throwable cause)
errorCode
- the error codecause
- the exception causeprotected ApplicationException(ApplicationException.ApplicationError errorCode, String message, ErrorDetailsType errorDetails)
errorCode
- the error codemessage
- the exception messageerrorDetails
- the error detailsprotected ApplicationException(ApplicationException.ApplicationError errorCode, Throwable cause, ErrorDetailsType errorDetails)
errorCode
- the error codecause
- the exception causeerrorDetails
- the error detailsCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.