In the current package that I am working on for a project I have about 13 different custom exceptions. Is it a good idea to place these into their own subpackage below the package that has all the classes that will be using these exceptions?
For example:
com.company.project.core
contains a bunch of classes which can throw some custom exceptions which are then placed inside of
com.company.project.core.exception
The only downside I see right now is that I have few more imports for the classes using the exceptions.