BS-7306 : Add javadoc on exceptions