Class TransactionSignatureException
-
- All Implemented Interfaces:
-
java.io.Serializable
,net.corda.v5.base.exceptions.CordaThrowable
public class TransactionSignatureException extends CordaRuntimeException
Indicates a problem related to signatures of the transaction named by getTransactionId.
-
-
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 TransactionSignatureException(SecureHash transactionId, String message, Throwable cause)
Creates a new instance of the TransactionSignatureException class.
-
Method Summary
Modifier and Type Method Description SecureHash
getTransactionId()
Gets the ID of the transaction that has failed the signature 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
-
TransactionSignatureException
TransactionSignatureException(SecureHash transactionId, String message, Throwable cause)
Creates a new instance of the TransactionSignatureException class.- Parameters:
transactionId
- the Merkle root hash (identifier) of the transaction that failed verification.message
- The details of the current exception to throw.cause
- The underlying cause of the current exception.
-
-
Method Detail
-
getTransactionId
@NotNull() SecureHash getTransactionId()
Gets the ID of the transaction that has failed the signature verification.
-
-
-
-