Web-based responsive document annotation tool
activeannoservice / common / HttpErrorException
open class HttpErrorException :
RuntimeException
Base exception for HTTP errors, can optionally include a detailed http error
Name | Summary |
---|---|
<init> | Base exception for HTTP errors, can optionally include a detailed http errorHttpErrorException(message: String = "", errorCode: ErrorCode ? = null) |
Name | Summary |
---|---|
errorCode | val errorCode: ErrorCode ? |
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 |