New overloads for constructing MalformedJsonException

This commit is contained in:
Jesse Wilson 2010-11-05 20:58:41 +00:00
parent bdf5bef887
commit 832257234d

View File

@ -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);
}
}