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:
java.io.Serializable
public class UnexpectedExecutionException
extends java.lang.RuntimeException
An "unexpected" service execution exception indicates that any exception
but
ExecutionException
occurred
in a service method. The original exception is stored as cause.-
Constructor Summary
Constructors Constructor Description UnexpectedExecutionException(java.lang.Throwable cause)
Creates a new unexpected execution exception. -
Method Summary
-
Constructor Details
-
UnexpectedExecutionException
public UnexpectedExecutionException(java.lang.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
-