Package org.bpsbits.kt.rest.exceptions
Class UnauthorizedException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class UnauthorizedException extends WebApplicationException401 - Unauthorized.
The server failed to identify the user.
Helps to specify more accurately the cause of problem instead of using generic WebApplicationException.
-
-
Constructor Summary
Constructors Constructor Description UnauthorizedException(String message)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class jakarta.ws.rs.WebApplicationException
getResponse -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
UnauthorizedException
UnauthorizedException(String message)
-
-
-
-