Add more constructors to NotSslRecordException
This commit is contained in:
parent
fbc9167c50
commit
ab43b9aa11
@ -29,7 +29,20 @@ public class NotSslRecordException extends SSLException {
|
|||||||
|
|
||||||
private static final long serialVersionUID = -4316784434770656841L;
|
private static final long serialVersionUID = -4316784434770656841L;
|
||||||
|
|
||||||
public NotSslRecordException(String reason) {
|
public NotSslRecordException() {
|
||||||
super(reason);
|
super("");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public NotSslRecordException(String message) {
|
||||||
|
super(message);
|
||||||
|
}
|
||||||
|
|
||||||
|
public NotSslRecordException(Throwable cause) {
|
||||||
|
super(cause);
|
||||||
|
}
|
||||||
|
|
||||||
|
public NotSslRecordException(String message, Throwable cause) {
|
||||||
|
super(message, cause);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user