Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public class ExecutionException

  1. Object
  2. Throwable
  3. Exception
  4. ExecutionException
Thrown by Future.get when the work failed; the cause is what it threw.

Constructors

public ExecutionException()An exception with no message or cause.
public ExecutionException(String message)An exception with message.
public ExecutionException(String message, Throwable cause)An exception with message and the failure that caused it.
public ExecutionException(Throwable cause)An exception wrapping the failure that caused it.

Inherited methods

Constructor details

ExecutionException

public ExecutionException()
An exception with no message or cause.

ExecutionException

public ExecutionException(String message)
An exception with message.

Parameters

message String
the detail message

ExecutionException

public ExecutionException(String message, Throwable cause)
An exception with message and the failure that caused it.

Parameters

message String
the detail message
cause Throwable
what the work threw

ExecutionException

public ExecutionException(Throwable cause)
An exception wrapping the failure that caused it.

Parameters

cause Throwable
what the work threw