make exceptions inner classes
removal of superfluous javadoc