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

James Perkins (JIRA) jira-events at lists.jboss.org
Mon Jan 24 15:55:50 EST 2011


    [ https://issues.jboss.org/browse/LOGTOOL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577593#comment-12577593 ] 

James Perkins commented on LOGTOOL-8:
-------------------------------------

The work-around does not work properly. While the compile passes, the classes are not generated.

> 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
>            Assignee: James Perkins
>             Fix For: 1.0.0.Beta3
>
>
> 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