Package com.vaadin.flow.server
Class ExecutionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.flow.server.ExecutionFailedException
- All Implemented Interfaces:
Serializable
Thrown by
FallibleCommand
if it's unable to complete its execution.- Since:
- 2.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new exception instance.ExecutionFailedException
(String message) Creates a new exception instance with the givenmessage
.ExecutionFailedException
(String message, Throwable cause) Creates a new exception instance with the givenmessage
andcause
.Creates a new exception instance with the givencause
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExecutionFailedException
public ExecutionFailedException()Creates a new exception instance. -
ExecutionFailedException
Creates a new exception instance with the givenmessage
.- Parameters:
message
- the exception message
-
ExecutionFailedException
Creates a new exception instance with the givencause
.- Parameters:
cause
- the exception cause
-
ExecutionFailedException
Creates a new exception instance with the givenmessage
andcause
.- Parameters:
message
- the exception messagecause
- the exception cause
-