39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
package com.nationalelectric.greenH5.identityAuth.util;
|
|
|
|
/**
|
|
* TODO DOCUMENT ME!
|
|
*
|
|
* @author <a href="mailto:93785732@qq.com">ZhengDaHong@fzfx</a>
|
|
* @since 2018/1/31 17:38
|
|
*/
|
|
public class IllegalSignatureTypeException extends Exception {
|
|
|
|
private SignatureType signatureType;
|
|
|
|
|
|
public IllegalSignatureTypeException(SignatureType signatureType, String message) {
|
|
super(message);
|
|
this.signatureType = signatureType;
|
|
}
|
|
|
|
public IllegalSignatureTypeException(SignatureType signatureType, String message, Throwable cause) {
|
|
super(message, cause);
|
|
this.signatureType = signatureType;
|
|
}
|
|
|
|
public IllegalSignatureTypeException(SignatureType signatureType, Throwable cause) {
|
|
super(cause);
|
|
this.signatureType = signatureType;
|
|
}
|
|
|
|
public IllegalSignatureTypeException(SignatureType signatureType, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
|
super(message, cause, enableSuppression, writableStackTrace);
|
|
this.signatureType = signatureType;
|
|
}
|
|
|
|
|
|
public SignatureType getSignatureType() {
|
|
return signatureType;
|
|
}
|
|
}
|