How and where do you define your own Exception hierarchy in Java?
My main question concerns package location where your Exception classes must be defined.
Do
The language does not specify any requirements for what packages user-defined Exception classes should be put in. As long as the class extends java.lang.Throwable, it can be thrown.
Exception
java.lang.Throwable