throwing an exception in Java
Code executed creates exception object
. Hands to runtime system. Exception object contains type & program state when error occured.
Code executed creates exception object
. Hands to runtime system. Exception object contains type & program state when error occured.