Class InvocationTargetException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.reflect.InvocationTargetException

public class InvocationTargetException extends Exception
java.lang.reflect.InvocationTargetException for the Codename One runtime. A device has no reflective invocation, so nothing here throws it on its own account: it exists for the code that declares, catches or wraps it, EventQueue.invokeAndWait and SwingUtilities.invokeAndWait first among them.
  • Constructor Details

    • InvocationTargetException

      protected InvocationTargetException()
    • InvocationTargetException

      public InvocationTargetException(Throwable target)
    • InvocationTargetException

      public InvocationTargetException(Throwable target, String s)
  • Method Details

    • getTargetException

      public Throwable getTargetException()
    • getCause

      public Throwable getCause()
      Description copied from class: Throwable
      Returns the cause of this throwable or null if the cause is nonexistent or unknown.
      Overrides:
      getCause in class Throwable