Class TransactionVerificationException
-
- All Implemented Interfaces:
-
java.io.Serializable
,net.corda.v5.base.exceptions.CordaThrowable
public final class TransactionVerificationException extends CordaRuntimeException
Represents the exception that is thrown to indicate that some aspect of the transaction has violated some rules.
-
-
Field Summary
Fields Modifier and Type Field Description public final SecureHash
transactionId
public String
originalExceptionClassName
public Throwable
cause
public Array<StackTraceElement>
stackTrace
-
Constructor Summary
Constructors Constructor Description TransactionVerificationException(SecureHash transactionId, String message, Throwable cause)
-
Method Summary
Modifier and Type Method Description SecureHash
getTransactionId()
Gets the ID of the transaction that has failed verification. -
Methods inherited from class net.corda.v5.base.exceptions.CordaRuntimeException
addSuppressed, equals, getCause, getMessage, getOriginalExceptionClassName, getOriginalMessage, hashCode, setCause, setMessage, setOriginalExceptionClassName
-
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
TransactionVerificationException
TransactionVerificationException(SecureHash transactionId, String message, Throwable cause)
-
-
Method Detail
-
getTransactionId
@NotNull() SecureHash getTransactionId()
Gets the ID of the transaction that has failed verification.
-
-
-
-