Package org.stellar.sdk.contract.exception
package org.stellar.sdk.contract.exception
Exceptions specific to smart contract APIs.
This package contains two families of exceptions:
- Exceptions thrown by
AssembledTransactionduring the lifecycle of a contract invocation (simulation failures, signing issues, submission errors, expired state). These all extendAssembledTransactionException. - Exceptions thrown by contract introspection APIs (
ContractMeta,ContractSpec,ContractInfo, and relatedSorobanServermethods). These all extendContractIntrospectionException.
- See Also:
-
Exception ClassesClassDescriptionRaised when an assembled transaction fails.Raised when a contract code ledger entry cannot be found on the network.Raised when a contract instance ledger entry cannot be found on the network.Base class for exceptions raised by contract introspection APIs.Raised when a contract Wasm cannot be retrieved due to unexpected RPC response data.Raised when the state has expired.Raised when a Wasm module or XDR stream cannot be decoded.Raised when more signatures are needed.Raised when no signature is needed.Raised when trying to get the result of a transaction that has not been simulated yet.Raised when a restoration fails.Raised when invoking `sendTransaction` fails.Raised when a simulation fails.Raised when the requested contract is a Stellar Asset Contract, which does not have an associated Wasm module.Raised when invoking `getTransaction` fails.Raised when the transaction is still pending.