[jboss-jira] [JBoss JIRA] Created: (LOGTOOL-8) Exception create methods fail to compile if the exception type appears in source code (as opposed to being on the class path)

David Lloyd (JIRA) jira-events at lists.jboss.org
Fri Jan 21 15:40:49 EST 2011


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

                 Key: LOGTOOL-8
                 URL: https://issues.jboss.org/browse/LOGTOOL-8
             Project: Log Tool
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: David Lloyd


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


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list