Uploaded image for project: 'Log Tool'
  1. Log Tool
  2. LOGTOOL-8

Exception create methods fail to compile if the exception type appears in source code (as opposed to being on the class path)

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta3
    • None
    • None

      For methods which construct an exception, if the returned exception type is part of the module being compiled (as opposed to being on the compiled class path), processing fails with this exception:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project invocation-api: Compilation failure
      [ERROR] /home/david/src/java/rws/invokable-container/api/src/main/java/org/jboss/invocation/InvocationLogger.java:[38,24] Return type org.jboss.invocation.InvocationException for method invocationException(java.lang.Throwable) is not in the classpath

              jperkins-rhn James Perkins
              dlloyd@redhat.com David Lloyd
              Archiver:
              rhn-support-sthamilt Stacey Hamilton

                Created:
                Updated:
                Resolved:
                Archived: