Class PolicyNotFoundException
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.core.error.BadRequestException
se.idsec.signservice.integration.config.PolicyNotFoundException
- All Implemented Interfaces:
 Serializable
Exception class for references to a non-existing policy.
- Author:
 - Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
 - See Also:
 
- 
Field Summary
FieldsFields inherited from class se.idsec.signservice.integration.core.error.BadRequestException
BAD_REQUEST_ERROR_CATEGORY - 
Constructor Summary
ConstructorsConstructorDescriptionPolicyNotFoundException(String message) Constructor.PolicyNotFoundException(String message, Throwable cause) Constructor. - 
Method Summary
Modifier and TypeMethodDescriptionintIf the SignService Integration Service is used from a REST API, the HTTP status may be useful when reporting errors.Methods inherited from class se.idsec.signservice.integration.core.error.BadRequestException
getCategoryMethods inherited from class se.idsec.signservice.integration.core.error.SignServiceIntegrationException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Field Details
- 
POLICY_NOT_FOUND_CODE
The error code for the error. 
 - 
 - 
Constructor Details
- 
PolicyNotFoundException
Constructor.- Parameters:
 message- the error message
 - 
PolicyNotFoundException
Constructor.- Parameters:
 message- the error messagecause- the cause of the error
 
 - 
 - 
Method Details
- 
getHttpStatus
public int getHttpStatus()If the SignService Integration Service is used from a REST API, the HTTP status may be useful when reporting errors.- Overrides:
 getHttpStatusin classBadRequestException- Returns:
 - the HTTP status code that should be used when sending an error response for this exception
 
 
 -