3 Replies Latest reply on Apr 18, 2005 10:36 AM by chiba

    How to get compiler errors

    peterkronenberg

      Hi,
      I'm new to Javassist. Just started playing with it the other day.
      When I use CtNewMethod.make() or any other method that takes source code, is there any way to display the compiler errors that are being generated? I'm just getting a "CannotCompileException: [source error] syntax error"
      Is there any way to get more detail?

      thanks
      Peter