I\'ve created a custom Exception class that I want to use in my application:
public class MyException extends Exception { private static final long serialVer
Can you try with:
try { System.out.println("this"); throw new MyException(); } catch (MyException e) { // TODO: handle exception }
Your exception wasn't thrown anywhere in the code. (try extending RuntimeException as another option)
RuntimeException