Class SignServiceIntegrationCategoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
se.idsec.signservice.integration.core.error.SignServiceIntegrationException
se.idsec.signservice.integration.core.error.SignServiceIntegrationCategoryException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadRequestException
public abstract class SignServiceIntegrationCategoryException
extends SignServiceIntegrationException
Abstract class for exception that reports errors for a given category. The
SignServiceIntegrationException.getCategory()
method must be
overridden.- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
- See Also:
-
Constructor Summary
ConstructorDescriptionSignServiceIntegrationCategoryException
(ErrorCode.Code code, String message) Constructor.SignServiceIntegrationCategoryException
(ErrorCode.Code code, String message, Throwable cause) Constructor. -
Method Summary
Methods inherited from class se.idsec.signservice.integration.core.error.SignServiceIntegrationException
getCategory, getErrorCode, getHttpStatus
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SignServiceIntegrationCategoryException
Constructor.- Parameters:
code
- the error code (within the given category)message
- the error message
-
SignServiceIntegrationCategoryException
public SignServiceIntegrationCategoryException(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
-