Class 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:
  • Constructor Details

    • CamelAuthorizationException

      public CamelAuthorizationException(String message, Exchange exchange)
    • CamelAuthorizationException

      public CamelAuthorizationException(String message, Exchange exchange, Throwable cause)
  • Method Details

    • getPolicyId

      public String getPolicyId()