Class SecurityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.system.SystemException
com.lexmark.saperion.exceptions.system.SecurityException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PasswordExpiredException
public class SecurityException
extends com.lexmark.saperion.exceptions.system.SystemException
Security base exception.
- Author:
- owaeldrich
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classError code implementation for security exceptions.Nested classes/interfaces inherited from class com.lexmark.saperion.exceptions.system.SystemException
com.lexmark.saperion.exceptions.system.SystemException.SystemError -
Field Summary
Fields inherited from class com.lexmark.saperion.exceptions.system.SystemException
SYSTEM_GENERAL_ERROR -
Constructor Summary
ConstructorsModifierConstructorDescriptionDefault constuctor.SecurityException(com.lexmark.saperion.exceptions.ErrorType fault, Throwable cause) Exception factory constructor.protectedSecurityException(SecurityException.SecurityError errorCode) Creates a new exception with the given error code.protectedSecurityException(SecurityException.SecurityError errorCode, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails, String message, Throwable cause) Creates a new exception with the given error code, error details, exception cause and exception message.protectedSecurityException(SecurityException.SecurityError errorCode, com.lexmark.saperion.exceptions.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.protectedSecurityException(SecurityException.SecurityError errorCode, String message) Creates a new exception with the given error code and exception message.protectedSecurityException(SecurityException.SecurityError errorCode, Throwable cause) Creates a new exception with the given error code and exception cause.SecurityException(com.lexmark.saperion.exceptions.system.SystemException.SystemError errorCode) Creates a new exception with the given error code.SecurityException(com.lexmark.saperion.exceptions.system.SystemException.SystemError errorCode, String message) Creates a new exception with the given error code and exception message.SecurityException(String message) Creates a new exception with the given exception message.SecurityException(String message, Throwable cause, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails) Creates a new exception with the given error details, exception cause and exception message.SecurityException(Throwable cause) Creates a new exception with the given exception cause. -
Method Summary
Methods inherited from class com.lexmark.saperion.exceptions.EcmException
createError, getDescriptionParameters, getErrorCode, getErrorDetailsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SecurityException
public SecurityException()Default constuctor. -
SecurityException
Exception factory constructor. Constructs a security exception from a server fault.- Parameters:
fault- the server fault.cause- the exception cause
-
SecurityException
public SecurityException(com.lexmark.saperion.exceptions.system.SystemException.SystemError errorCode) Creates a new exception with the given error code.- Parameters:
errorCode- the error code
-
SecurityException
public SecurityException(com.lexmark.saperion.exceptions.system.SystemException.SystemError errorCode, String message) Creates a new exception with the given error code and exception message.- Parameters:
errorCode- the error codemessage- the exception message
-
SecurityException
Creates a new exception with the given exception message.- Parameters:
message- the exception message
-
SecurityException
public SecurityException(String message, Throwable cause, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails) Creates a new exception with the given error details, exception cause and exception message.- Parameters:
errorDetails- the error detailsmessage- the exception messagecause- the exception cause
-
SecurityException
Creates a new exception with the given exception cause.- Parameters:
cause- the exception cause
-
SecurityException
Creates a new exception with the given error code.- Parameters:
errorCode- the error code
-
SecurityException
protected SecurityException(SecurityException.SecurityError errorCode, com.lexmark.saperion.exceptions.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.- Parameters:
errorCode- the error codeerrorDetails- the error detailsparameters- the error parametersmessage- the exception messagecause- the exception cause
-
SecurityException
protected SecurityException(SecurityException.SecurityError errorCode, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails, String message, Throwable cause) Creates a new exception with the given error code, error details, exception cause and exception message.- Parameters:
errorCode- the error codeerrorDetails- the error detailsmessage- the exception messagecause- the exception cause
-
SecurityException
Creates a new exception with the given error code and exception message.- Parameters:
errorCode- the error codemessage- the exception message
-
SecurityException
Creates a new exception with the given error code and exception cause.- Parameters:
errorCode- the error codecause- the exception cause
-