New overloads for constructing MalformedJsonException
This commit is contained in:
parent
bdf5bef887
commit
832257234d
@ -25,7 +25,16 @@ import java.io.IOException;
|
||||
public final class MalformedJsonException extends IOException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public MalformedJsonException(String s) {
|
||||
super(s);
|
||||
public MalformedJsonException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
|
||||
public MalformedJsonException(String msg, Throwable throwable) {
|
||||
super(msg);
|
||||
initCause(throwable);
|
||||
}
|
||||
|
||||
public MalformedJsonException(Throwable throwable) {
|
||||
initCause(throwable);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user