public class thrower1 { public static void main (String[] args) throws myException { throw new myException("Meine Exception"); } } class myException extends Exception { myException (String message) { super(message); } }