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.
See Also:
ExecutionException, Errors.ErrorKind.UNEXPECTED, Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    UnexpectedExecutionException​(java.lang.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 of ExecutionException