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