1 2 3 4 5 6 7 8 9
package sample; public class MyException extends Exception { public MyException(String msg) { super(msg); } }