Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-204

Need to be able to control how ClassNotFound are generated

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.5.0.CR1
    • None
    • Core
    • None

      In Ceylon, when we use JBoss Modules for Maven interop, very often we have ClassNotFoundException when a Maven module does not declare its dependencies correctly. Often the missing class will actually be in a transitive dependency.

      I'd like to be able to override a method that lets me generate a more helpful exception message, which would include advice on where to find the missing class and how to fix it using a config file. But for that I need to be able to override some method on Module where we throw the exception to provide an alternative error message, and (unless already available) a way to traverse other modules to find where the missing class is.

              dlloyd@redhat.com David Lloyd
              separdau@redhat.com Stephane Epardaud
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: