Class UnauthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.fraunhofer.iosb.ilt.frostserver.util.exception.UnauthorizedException
-
- All Implemented Interfaces:
Serializable
public class UnauthorizedException extends RuntimeException
Throwing this exception will cause FROST-Server to return a 401 Unauthorized. Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.- Author:
- Hylke van der Schaaf
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnauthorizedException()UnauthorizedException(String message)UnauthorizedException(String message, Throwable cause)UnauthorizedException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-