Package com.exonum.binding.core.runtime
Class UnexpectedExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.exonum.binding.core.runtime.UnexpectedExecutionException
-
- All Implemented Interfaces:
Serializable
public class UnexpectedExecutionException extends RuntimeException
An "unexpected" service execution exception indicates that any exception butExecutionExceptionoccurred in a service method. The original exception is stored as cause.- See Also:
ExecutionException,Errors.ErrorKind.UNEXPECTED, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnexpectedExecutionException(Throwable cause)Creates a new unexpected execution exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnexpectedExecutionException
public UnexpectedExecutionException(Throwable cause)
Creates a new unexpected execution exception.- Parameters:
cause- an exception that occurred in a transaction; must not be null or an instance ofExecutionException
-
-