Class UnauthorizedMessageException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.spring.authorization.UnauthorizedMessageException
All Implemented Interfaces:
Serializable

public class UnauthorizedMessageException extends org.axonframework.common.AxonNonTransientException
Exception indicating that a message has been rejected due to a lack of authorization.
Since:
4.11.0
Author:
Roald Bankras
See Also:
  • Constructor Details

    • UnauthorizedMessageException

      public UnauthorizedMessageException(String message)
      Construct the exception with the given {$code message}.
      Parameters:
      message - The message describing the cause.