Module io.hotmoka.node.api
Package io.hotmoka.node.api.responses
Interface MethodCallTransactionExceptionResponse
- All Superinterfaces:
CodeExecutionTransactionResponse,io.hotmoka.marshalling.api.Marshallable,MethodCallTransactionResponse,NonInitialTransactionResponse,TransactionResponse,TransactionResponseWithEvents,TransactionResponseWithUpdates
public interface MethodCallTransactionExceptionResponse
extends MethodCallTransactionResponse, TransactionResponseWithEvents
A response for a successful transaction that calls a method in the store of a node.
The method is annotated as
io.takamaka.code.lang.ThrowsExceptions.
It has been called without problems but it threw an exception.-
Method Summary
Modifier and TypeMethodDescriptionYields the fully-qualified class name of the cause exception.Yields the message of the cause exception.getWhere()Yields the program point where the cause exception occurred.Methods inherited from interface io.hotmoka.marshalling.api.Marshallable
into, size, toByteArrayMethods inherited from interface io.hotmoka.node.api.responses.NonInitialTransactionResponse
getGasConsumedForCPU, getGasConsumedForRAM, getGasConsumedForStorageMethods inherited from interface io.hotmoka.node.api.responses.TransactionResponse
equals, hashCode, toStringMethods inherited from interface io.hotmoka.node.api.responses.TransactionResponseWithEvents
getEvents, hasEventsMethods inherited from interface io.hotmoka.node.api.responses.TransactionResponseWithUpdates
getUpdates
-
Method Details
-
getClassNameOfCause
String getClassNameOfCause()Yields the fully-qualified class name of the cause exception.- Returns:
- the fully-qualified class name of the cause exception
-
getMessageOfCause
String getMessageOfCause()Yields the message of the cause exception.- Returns:
- the message of the cause exception
-
getWhere
String getWhere()Yields the program point where the cause exception occurred.- Returns:
- the program point
-