net.sourceforge.acelogger.location.resolver
Class InternalCodeFrameResolver
java.lang.Object
net.sourceforge.acelogger.location.resolver.BaseCodeFrameResolver
net.sourceforge.acelogger.location.resolver.InternalCodeFrameResolver
- All Implemented Interfaces:
- CodeFrameResolver
public class InternalCodeFrameResolver
- extends BaseCodeFrameResolver
An implementation of CodeFrameResolver that regresses a fixed number of calls.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Zardi (https://sourceforge.net/users/daniel_zardi)
Constructor Summary |
InternalCodeFrameResolver(int frameShift)
Constructs a new InternalCodeFrameResolver for the supplied frame shift. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternalCodeFrameResolver
public InternalCodeFrameResolver(int frameShift)
- Constructs a new InternalCodeFrameResolver for the supplied frame shift.
- Parameters:
frameShift
- The number of calls that should be retroceded.- Since:
- 1.0.0
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.