public class UnsupportedHandlerException extends AxonConfigurationException
Constructor and Description |
---|
UnsupportedHandlerException(String message,
Member violatingMethod)
Initialize the exception with a
message and the violatingMethod . |
Modifier and Type | Method and Description |
---|---|
Member |
getViolatingMethod()
A reference to the method that violated the event handler rules.
|
isCauseOf
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsupportedHandlerException(String message, Member violatingMethod)
message
and the violatingMethod
.message
- a descriptive message of the violationviolatingMethod
- the method that violates the rules of annotated Event Handlerspublic Member getViolatingMethod()
Copyright © 2010–2024. All rights reserved.