exception handling improvements, add javadoc, remove obsolete classes

add checked/unchecked exception base classes and use them.