]
James Perkins closed LOGTOOL-8.
-------------------------------
Resolution: Done
Changed to use the javax.lang.model.* instead of reflection.
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: