Trim stack traces of message logger and message bundle exception
methods
------------------------------------------------------------------------
Key: LOGTOOL-25
URL:
https://issues.jboss.org/browse/LOGTOOL-25
Project: Log Tool
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: David Lloyd
Assignee: James Perkins
Fix For: 1.0.0.Beta8
When generating a method which constructs a new exception, before returning the
exception, the method should do:
{code}
WhateverException ex = new WhateverException(...);
StackTraceElement[] st = ex.getStackTrace();
ex.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
return ex;
{code}
The idea is to trim the logger class name off of the stack.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: