Addressing code review feedback from r585 and r648.

This commit is contained in:
Jesse Wilson 2010-11-08 01:22:21 +00:00
parent 6a951b427e
commit 4d0cd67cde

View File

@ -31,6 +31,8 @@ public final class MalformedJsonException extends IOException {
public MalformedJsonException(String msg, Throwable throwable) {
super(msg);
// Using initCause() instead of calling super() because Java 1.5 didn't retrofit IOException
// with a constructor with Throwable. This was done in Java 1.6
initCause(throwable);
}