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
public class ExecutionFailedException extends Exception
Thrown byFallibleCommand
if it's unable to complete its execution.- Since:
- 2.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecutionFailedException()
Creates 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
.ExecutionFailedException(Throwable cause)
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 Detail
-
ExecutionFailedException
public ExecutionFailedException()
Creates a new exception instance.
-
ExecutionFailedException
public ExecutionFailedException(String message)
Creates a new exception instance with the givenmessage
.- Parameters:
message
- the exception message
-
ExecutionFailedException
public ExecutionFailedException(Throwable cause)
Creates a new exception instance with the givencause
.- Parameters:
cause
- the exception cause
-
-