Compiere Looks 1.2.1

org.compiere.util
Class Trace

java.lang.Object
  |
  +--org.compiere.util.Trace

public class Trace
extends Object

Trace Information

Version:
$Id: Trace.java,v 1.4 2002/09/01 22:34:37 jjanke Exp $
Author:
Jorg Janke

Constructor Summary
Trace()
           
 
Method Summary
static String getCallerClass(int nestLevel)
          Get Caller with nest Level
static String[] getCallerClasses(Throwable caller, int maxNestLevel)
          Get Caller Array
static void printStack()
          Print Stack Tace Info (raw)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trace

public Trace()
Method Detail

getCallerClasses

public static String[] getCallerClasses(Throwable caller,
                                        int maxNestLevel)
Get Caller Array

Parameters:
caller - Optional Thowable/Exception
maxNestLevel - maximum call nesting level - 0 is all
Returns:
Array of class.method(file:line)

getCallerClass

public static String getCallerClass(int nestLevel)
Get Caller with nest Level

Parameters:
nestLevel - Nesting Level - 0=calling method, 1=previous, ..
Returns:
class name and line info of nesting level or "" if not exist

printStack

public static void printStack()
Print Stack Tace Info (raw)


Compiere Looks 1.2.1

Copyright (c) 1999-2003 ComPiere, Inc. - Author: Jorg Janke