Class NotaryException
-
- All Implemented Interfaces:
-
java.io.Serializable
,net.corda.v5.base.exceptions.CordaThrowable
public abstract class NotaryException extends CordaRuntimeException
The base class for all notary errors that can be returned by the notary itself (plugin). Specific notary exceptions must not inherit from this class directly, they should use one of the inner classes. To create a notary exception, use NotaryExceptionFatal or NotaryExceptionUnknown.
-
-
Field Summary
Fields Modifier and Type Field Description public final String
notaryErrorMessage
public final SecureHash
txId
public String
originalExceptionClassName
public Throwable
cause
public Array<StackTraceElement>
stackTrace
-
Method Summary
Modifier and Type Method Description final String
getNotaryErrorMessage()
final SecureHash
getTxId()
-
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
-
-
Method Detail
-
getNotaryErrorMessage
@NotNull() final String getNotaryErrorMessage()
-
getTxId
@Nullable() final SecureHash getTxId()
-
-
-
-