Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public class InvocationTargetException

  1. Object
  2. Throwable
  3. Exception
  4. InvocationTargetException
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.

Constructors

protected InvocationTargetException()
public InvocationTargetException(Throwable target)
public InvocationTargetException(Throwable target, String s)

Methods

public Throwable getTargetException()
public Throwable getCause()Returns the cause of this throwable or null if the cause is nonexistent or unknown.

Inherited methods

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()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.