Log the exception class when logging exceptions.

This commit is contained in:
akwizgran
2011-12-08 17:28:05 +00:00
parent 9f0b865ba8
commit 6962814eec
30 changed files with 108 additions and 112 deletions

View File

@@ -17,7 +17,7 @@ public class SigningConsumer implements Consumer {
try {
signature.update(b);
} catch(SignatureException e) {
throw new IOException(e.getMessage());
throw new IOException(e.toString());
}
}
@@ -25,7 +25,7 @@ public class SigningConsumer implements Consumer {
try {
signature.update(b, off, len);
} catch(SignatureException e) {
throw new IOException(e.getMessage());
throw new IOException(e.toString());
}
}
}