ClassNotFoundException handling

Help
2009-05-16
2013-04-24
  • Steve Molloy
    Steve Molloy
    2009-05-16

    For applications that use reflection to load classes, a ClassNotFoundException is an exception like any other, which is (or should be) catched in the application itself. Unfortunately, while profiling, it causes the profiler to die because it cannot instrument the class. Would it be possible to simply ignore these cases so that the application code could get the ClassNotFoundException and deal with it itself.

    Thanks,
    Steve