package username.project; /** * DESCRIPTION * * @author YOUR NAME HERE * @version V of DATE */ public class YourException extends Exception { // +--------------+------------------------------------------------------ // | Constructors | // +--------------+ /** * Create an exception with a default message. */ public YourException() { super("Default Message"); } // YourException() /** * Create an exception with a client-specified message. */ public YourException(String message) { super(message); } // YourException(String) } // class YourException