net.sourceforge.acelogger.location.resolver
Class UserCodeFrameResolver

java.lang.Object
  extended by net.sourceforge.acelogger.location.resolver.BaseCodeFrameResolver
      extended by net.sourceforge.acelogger.location.resolver.UserCodeFrameResolver
All Implemented Interfaces:
CodeFrameResolver

public class UserCodeFrameResolver
extends BaseCodeFrameResolver

An implementation of CodeFrameResolver that finds the first call out of our packages.

Since:
1.0.0
Version:
1.0.0
Author:
Zardi (https://sourceforge.net/users/daniel_zardi)

Constructor Summary
UserCodeFrameResolver()
           
 
Method Summary
 StackTraceElement getCodeFrame(Thread currentThread)
          Generates information about the code-frame that originated a call.
 
Methods inherited from class net.sourceforge.acelogger.location.resolver.BaseCodeFrameResolver
getCodeFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserCodeFrameResolver

public UserCodeFrameResolver()
Method Detail

getCodeFrame

public StackTraceElement getCodeFrame(Thread currentThread)
Generates information about the code-frame that originated a call.

Parameters:
currentThread - The thread that originated the call.
Returns:
The code frame in the thread that originated the call.


Copyright © 2007-2010 The AceLogger Team. All Rights Reserved.