Class TransactionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.hotmoka.node.api.TransactionException
All Implemented Interfaces:
Serializable

public class TransactionException extends Exception
A wrapper of an exception, raised during a transaction, that occurred during the execution of a Takamaka constructor or method that was not allowed to throw it.
See Also:
  • Constructor Details

    • TransactionException

      public TransactionException(String message)
      Builds an exception, raised during a transaction, that occurred during the execution of a Takamaka constructor or method that was not allowed to throw it.
      Parameters:
      message - the message of the exception
    • TransactionException

      public TransactionException(String classNameOfCause, String messageOfCause, String where)
      Builds an exception, raised during a transaction, that occurred during the execution of a Takamaka constructor or method that was not allowed to throw it.
      Parameters:
      classNameOfCause - the name of the class of the cause of the exception
      messageOfCause - the message of the cause of the exception. This might be null
      where - a description of the program point of the exception. This might be null