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
public class CamelAuthorizationException extends CamelExchangeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CamelAuthorizationException(String message, Exchange exchange)
CamelAuthorizationException(String message, Exchange exchange, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPolicyId()
-
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
-
-