The only way to define any class as a static class is to make it a nested class. When you make a nested class static however, it is the same as creating a new top level class. Why do want to make an Exception class static?
2) How can I use return and throw in the same method.
If you have a method that can throw an exception you can do this: