Class UnauthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dmfs.httpessentials.exceptions.ProtocolException
org.dmfs.httpessentials.exceptions.UnexpectedStatusException
org.dmfs.httpessentials.exceptions.ClientErrorException
org.dmfs.httpessentials.exceptions.UnauthorizedException
- All Implemented Interfaces:
Serializable
This Exception is thrown when an unhandled
HttpStatus.UNAUTHORIZED status code occurs.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a newUnauthorizedException.UnauthorizedException(String message) Create a newUnauthorizedExceptionwith a message. -
Method Summary
Methods inherited from class org.dmfs.httpessentials.exceptions.UnexpectedStatusException
statusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedException
public UnauthorizedException()Create a newUnauthorizedException. -
UnauthorizedException
Create a newUnauthorizedExceptionwith a message.- Parameters:
message- An error message.
-