corda / net.corda.core.contracts / TransactionVerificationException / PackageOwnershipException / <init>

<init>

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

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.