convex.core.exceptions.BadSignatureException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of convex-core Show documentation
Show all versions of convex-core Show documentation
Convex core libraries and common utilities
The newest version!
package convex.core.exceptions;
import convex.core.data.ACell;
import convex.core.data.SignedData;
@SuppressWarnings("serial")
public class BadSignatureException extends ValidationException {
private SignedData> sig;
public BadSignatureException(String message, SignedData> sig) {
super(message);
this.sig = sig;
}
@SuppressWarnings("unchecked")
public SignedData getSignature() {
return (SignedData) sig;
}
}