In my web application created a User defined exception extends with Exception.Is it Checked or unchecked exception
public class InvalidDataException extends Exc
Only those exceptions that are subclasses of RuntimeException are considered unchecked.
Yours isn't, and therefore is a checked exception.