Package org.apache.camel
Class CamelAuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
org.apache.camel.CamelAuthorizationException
- All Implemented Interfaces:
Serializable
An exception thrown for either authentication or authorization errors occurring in a Camel exchange. Intended to be
used when a user is denied an action and Camel should not process the message as a result.
- See Also:
-
Constructor Summary
ConstructorDescriptionCamelAuthorizationException
(String message, Exchange exchange) CamelAuthorizationException
(String message, Exchange exchange, Throwable cause) -
Method Summary
Methods inherited from class org.apache.camel.CamelExchangeException
createExceptionMessage, getExchange
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CamelAuthorizationException
-
CamelAuthorizationException
-
-
Method Details
-
getPolicyId
-