public class OwnException2 {
	public static void main(String[] args) {
		try {
			System.out.println("throwing myException...");
			throw new myException();
		} catch (Exception e) {
			System.out.println(e.toString() + " exception caught");
		} //catch
	} //main()
} //class OwnException2

class myException extends Exception {
} //class myException