Class ContractCodeNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.stellar.sdk.exception.SdkException
org.stellar.sdk.contract.exception.ContractIntrospectionException
org.stellar.sdk.contract.exception.ContractCodeNotFoundException
- All Implemented Interfaces:
Serializable
Raised when a contract code ledger entry cannot be found on the network. The entry may have been
archived; restoring the contract code footprint may be required.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns a defensive copy of the Wasm hash that was looked up.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ContractCodeNotFoundException
public ContractCodeNotFoundException(byte[] wasmHash)
-
-
Method Details
-
getWasmHash
public byte[] getWasmHash()Returns a defensive copy of the Wasm hash that was looked up.
-