corda / net.corda.core.contracts / TransactionVerificationException / PackageOwnershipException

PackageOwnershipException

class PackageOwnershipException : TransactionVerificationException

Thrown to indicate that a contract attachment is not signed by the network-wide package owner. Please note that the txId will always be SecureHash.zeroHash because package ownership is an error with a particular attachment, and because attachment classloaders are reused this is independent of any particular transaction.

Constructors

<init>

Thrown to indicate that a contract attachment is not signed by the network-wide package owner. Please note that the txId will always be SecureHash.zeroHash because package ownership is an error with a particular attachment, and because attachment classloaders are reused this is independent of any particular transaction.

PackageOwnershipException(txId: SecureHash, attachmentHash: AttachmentId, invalidClassName: String, packageName: String)

Properties

attachmentHash

val attachmentHash: AttachmentId

invalidClassName

val invalidClassName: String

packageName

val packageName: String