24. Creating Custom UnChecked Exceptions public class NewClass { public static void main(String[] args) { m(); } static void m() { throw new MyException(); } } class MyException extends RuntimeException { MyException() { super("This is my exception"); } } Exception in thread "main" Pack.MyException: This is my exception at NewClass.m(NewClass.java:24) at NewClass.main(NewClass.java:20)