fix old code- pointless exceptions- nonexistent exceptions- Sun class calls- Java 6 formatting (commit: ce3b1c8)