DEVFYI - Developer Resource - FYI

How to create custom exceptions?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

515. How to create custom exceptions?

Your class should extend class Exception, or some more specific type thereof.

(Continued on next question...)

Other Interview Questions