Implementation of custom exception and its optimization in Java | IEEE Conference Publication | IEEE Xplore