InterviewSolution
Saved Bookmarks
| 1. |
How do you create a custom Exception ? |
|
Answer» tion:create a class whose name should end with exception like classNameException. ...Make the class EXTENDS one of the exception which are subtypes of the java . lang.Exception class. ... CREAT a CONSTRUCTOR with a string parameter EHICH is the detail massage of the exception. |
|