public static class TransactionVerificationException.PackageOwnershipException
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.
public PackageOwnershipException(@NotNull
SecureHash txId,
@NotNull
SecureHash attachmentHash,
@NotNull
java.lang.String invalidClassName,
@NotNull
java.lang.String packageName)
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.
@NotNull public SecureHash getAttachmentHash()
@NotNull public java.lang.String getInvalidClassName()
@NotNull public java.lang.String getPackageName()