ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / common / HttpErrorException

HttpErrorException

open class HttpErrorException : RuntimeException

Base exception for HTTP errors, can optionally include a detailed http error

Constructors

Name Summary
<init> Base exception for HTTP errors, can optionally include a detailed http errorHttpErrorException(message: String = "", errorCode: ErrorCode? = null)

Properties

Name Summary
errorCode val errorCode: ErrorCode?

Inheritors

Name Summary
ForbiddenException Custom exception indicating the user is not authorized properly (missing role), will be used to return appropriate http error codeclass ForbiddenException : HttpErrorException
GoneException Exception indicating that a resource is gone, will be used through StatusPages feature to return the proper status code when this exception is thrownclass GoneException : HttpErrorException
UnauthorizedException Custom exception indicating the user is not authenticated properly (missing / invalid auth token), will be used to return appropriate http error codeclass UnauthorizedException : HttpErrorException