NotaryException - corda

corda / net.corda.core.flows / NotaryException

# NotaryException

`class NotaryException : FlowException`

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.

### Constructors

#### <init> | 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. `NotaryException(error: NotaryError, txId: SecureHash? = null)`

### Properties

#### error | Cause of notarisation failure. `val error: NotaryError`
#### txId | Id of the transaction to be notarised. Can be null if an error occurred before the id could be resolved. `val txId: SecureHash?`