Class OnErrorCallable

  • public class OnErrorCallable
    extends JsrCallable
    Callable for OnError annotated methods
    • Constructor Detail

      • OnErrorCallable

        public OnErrorCallable​(java.lang.Class<?> pojo,
                               java.lang.reflect.Method method)
    • Method Detail

      • call

        public void call​(java.lang.Object endpoint,
                         java.lang.Throwable cause)
      • setDecodingType

        public void setDecodingType​(java.lang.Class<?> decodingType)
        Description copied from class: JsrCallable
        The Type of Class a Decoder should be created to produce.
        Specified by:
        setDecodingType in class JsrCallable
        decodingType - the type of class a Decoder should be created to produce