In my web application created a User defined exception extends with Exception.Is it Checked or unchecked exception
public class InvalidDataException extends Exc
It's a checked exception class. Any class which extends Exception class will be a user defined Checked exception class. Where as any class which extends RuntimeException will be Unchecked exception class.