Package org.apache.druid.server.security
Class ForbiddenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.druid.server.security.ForbiddenException
- All Implemented Interfaces:
Serializable,SanitizableException
Throw this when a request is unauthorized and we want to send a 403 response back, Jersey exception mapper will
take care of sending the response.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ForbiddenException
public ForbiddenException() -
ForbiddenException
-
-
Method Details
-
getErrorMessage
-
sanitize
- Specified by:
sanitizein interfaceSanitizableException
-