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.
- Version:
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CamelAuthorizationException
public CamelAuthorizationException(String message,
Exchange exchange)
CamelAuthorizationException
public CamelAuthorizationException(String message,
Exchange exchange,
Throwable cause)
getPolicyId
public String getPolicyId()
Apache Camel