Class semper.util.execInfo.ExecInfo
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.util.execInfo.ExecInfo

java.lang.Object
   |
   +----semper.util.execInfo.ExecInfo

public class ExecInfo
extends Object
ExecInfo class - Provides information on stack and callers This class is heavily used by the semper.util.log package to pinpoint error locations.

Constructor Index

 o ExecInfo()

Method Index

 o StackTrace()
---------------------------------------------------------------------- Returns in a string the exact same information as returned by the printStackTrace method in the throwable class.
 o StackTrace(int)
---------------------------------------------------------------------- Similar to the parameterless form except that at least three lines are supressed.

Constructors

 o ExecInfo
  public ExecInfo()

Methods

 o StackTrace
  public static String StackTrace()
---------------------------------------------------------------------- Returns in a string the exact same information as returned by the printStackTrace method in the throwable class.
 o StackTrace
  public static String StackTrace(int linesToSupress)
---------------------------------------------------------------------- Similar to the parameterless form except that at least three lines are supressed. These correspond to usuallly irrelevant lines tracing the throwed object and the two StrackTrace methods. Additional lines may be suppressed using the linesToSupress parameter. This is useful in cases where the immediate caller(s) are also irrelevant as in the semper.util.log package.

All Packages  Class Hierarchy  This Package  Previous  Next  Index