public class NotaryException
Exception thrown by the notary service if any issues are encountered while trying to commit a transaction. The underlying error specifies the cause of failure.
public NotaryException(@NotNull NotaryError error, @Nullable SecureHash txId)
Exception thrown by the notary service if any issues are encountered while trying to commit a transaction. The underlying error specifies the cause of failure.
error
- Cause of notarisation failure.txId
- Id of the transaction to be notarised. Can be null if an error occurred before the id could be resolved.@NotNull public NotaryError getError()
Cause of notarisation failure.
@Nullable public SecureHash getTxId()
Id of the transaction to be notarised.
Can be null if an error occurred before the id could be resolved.