We define user defined exceptions by extending the Exception class. Why not by extending RunTimeException class. I tried it and it doesn't give any exceptions. Then why we don't do it.
Type: Posts; User: tcstcs
We define user defined exceptions by extending the Exception class. Why not by extending RunTimeException class. I tried it and it doesn't give any exceptions. Then why we don't do it.