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 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
messageString- the detail message
ExecutionException
public ExecutionException(String message, Throwable cause)An exception with
message and the failure that caused it.Parameters
messageString- the detail message
causeThrowable- what the work threw
ExecutionException
public ExecutionException(Throwable cause)An exception wrapping the failure that caused it.
Parameters
causeThrowable- what the work threw