User defined exception are checked or unchecked exceptions
<p>In my web application created a  User defined exception extends with Exception.Is it Checked or unchecked exception</p>

<pre><code>public class InvalidDataException extends Exception{


        public InvalidDataException() {
        super();
        // TODO Auto-generated constructor stub
    }
    /**
     * @param arg0
     */
    public InvalidDataException(String message) {
        super(message);
        // TODO Auto-generated constructor stub
    }
}
</code></pre>
