@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) class MessageExceptionHandler
Annotation for handling exceptions thrown from message-handling methods within a specific handler class.
Author
Rossen Stoyanchev
Since
4.0
MessageExceptionHandler(vararg value: KClass<out Throwable>)
Annotation for handling exceptions thrown from message-handling methods within a specific handler class. |
val value: Array<KClass<out Throwable>>
Exceptions handled by the annotated method. If empty, will default to any exceptions listed in the method argument list. |