java.lang.Object
java.lang.Throwable
java.lang.Exception
io.hotmoka.node.api.TransactionException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionTransactionException(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.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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionException
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
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 exceptionmessageOfCause- the message of the cause of the exception. This might benullwhere- a description of the program point of the exception. This might benull
-