Define the exceptions under their own package when building an OSGi bundle