Class OnErrorCallable


public class OnErrorCallable extends JsrCallable
Callable for OnError annotated methods
  • Field Details

    • idxThrowable

      private int idxThrowable
  • Constructor Details

    • OnErrorCallable

      public OnErrorCallable(Class<?> pojo, Method method)
    • OnErrorCallable

      public OnErrorCallable(OnErrorCallable copy)
  • Method Details

    • call

      public void call(Object endpoint, Throwable cause)
    • init

      public void init(JsrSession session)
      Overrides:
      init in class JsrCallable
    • setDecodingType

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