Where possible, exceptions creation has been simplified, for example using IOException and SQLException constructors with the cause parameter (added in Java 6).
There are other jdk workarounds in the code (eg. BigDecimal), but I'll work on them in another PRs not to make this one too big.
Almost all the removed parts of code are workarounds for things missing from JDK < 1.4:
java.util.logging
Calendar.getTimeInMillis()
](https://docs.oracle.com/javase%2F7%2Fdocs%2Fapi%2F%2F/java/util/Calendar.html#getTimeInMillis())Throwable.initCause(Throwable cause)
Where possible, exceptions creation has been simplified, for example using
IOException
andSQLException
constructors with thecause
parameter (added in Java 6).There are other jdk workarounds in the code (eg. BigDecimal), but I'll work on them in another PRs not to make this one too big.