Class SignServiceEncryptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
se.idsec.signservice.integration.core.error.SignServiceIntegrationException
se.idsec.signservice.integration.core.error.SignServiceIntegrationCategoryException
se.idsec.signservice.integration.security.SignServiceEncryptException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MetadataException
public class SignServiceEncryptException
extends se.idsec.signservice.integration.core.error.SignServiceIntegrationCategoryException
Exceptions for encryption errors.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSignServiceEncryptException
(se.idsec.signservice.integration.core.error.ErrorCode.Code code, String message) Constructor.SignServiceEncryptException
(se.idsec.signservice.integration.core.error.ErrorCode.Code code, String message, Throwable cause) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected se.idsec.signservice.integration.core.error.ErrorCode.Category
int
Methods inherited from class se.idsec.signservice.integration.core.error.SignServiceIntegrationException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SignServiceEncryptException
public SignServiceEncryptException(se.idsec.signservice.integration.core.error.ErrorCode.Code code, String message) Constructor.- Parameters:
code
- the error code (within the given category)message
- the error message
-
SignServiceEncryptException
public SignServiceEncryptException(se.idsec.signservice.integration.core.error.ErrorCode.Code code, String message, Throwable cause) Constructor.- Parameters:
code
- the error code (within the given category)message
- the error messagecause
- the cause of the error
-
-
Method Details
-
getHttpStatus
public int getHttpStatus()- Specified by:
getHttpStatus
in classse.idsec.signservice.integration.core.error.SignServiceIntegrationException
-
getCategory
protected se.idsec.signservice.integration.core.error.ErrorCode.Category getCategory()- Overrides:
getCategory
in classse.idsec.signservice.integration.core.error.SignServiceIntegrationException
-