Class DocumentProcessingException
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.document.DocumentProcessingException
- All Implemented Interfaces:
Serializable
public class DocumentProcessingException
extends se.idsec.signservice.integration.core.error.SignServiceIntegrationCategoryException
Exception class for document processing errors.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentProcessingException
(se.idsec.signservice.integration.core.error.ErrorCode.Code code, String message) Constructor.DocumentProcessingException
(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
-
DocumentProcessingException
public DocumentProcessingException(se.idsec.signservice.integration.core.error.ErrorCode.Code code, String message) Constructor.- Parameters:
code
- the error code within the categorymessage
- the error message
-
DocumentProcessingException
public DocumentProcessingException(se.idsec.signservice.integration.core.error.ErrorCode.Code code, String message, Throwable cause) Constructor.- Parameters:
code
- the error code within the categorymessage
- 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
-