How to decide whether to make my custom exception as checked or unchecked exception in ?
Amruta Jegarkal wrote:How to decide whether to make my custom exception as checked or unchecked exception in ?
Jesper de Jong wrote:Welcome to the Ranch!
The page The Catch or Specify Requirement from Oracle's Java Tutorials explains the three kinds of exceptions, and when each type is appropriate. There is, however, some debate about this, and there isn't always a clear answer to the question whether a certain exception should be a checked or an unchecked exception.