net.sourceforge.acelogger.location.resolver
Interface CodeFrameResolver

All Known Implementing Classes:
BaseCodeFrameResolver, InternalCodeFrameResolver, UserCodeFrameResolver

public interface CodeFrameResolver

Obtains the code-frame that originated a call.

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

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

Method Detail

getCodeFrame

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

Returns:
The code frame that originated the call.
Since:
1.0.0

getCodeFrame

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.
Since:
1.0.0


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