Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: ClassLib/sun14_linux/java/lang/StackTraceElement.java


1   // StackTraceElement.java, created Fri Aug 16 18:11:48 2002 by joewhaley
2   // Copyright (C) 2001-3 John Whaley <jwhaley@alum.mit.edu>
3   // Licensed under the terms of the GNU LGPL; see COPYING for details.
4   package ClassLib.sun14_linux.java.lang;
5   
6   /**
7    * StackTraceElement
8    *
9    * @author  John Whaley <jwhaley@alum.mit.edu>
10   * @version $Id: StackTraceElement.java,v 1.3 2003/05/12 10:04:56 joewhaley Exp $
11   */
12  public final class StackTraceElement {
13      private java.lang.String declaringClass;
14      private java.lang.String methodName;
15      private java.lang.String fileName;
16      private int lineNumber;
17  
18      StackTraceElement(java.lang.String declaringClass,
19                        java.lang.String methodName,
20                        java.lang.String fileName,
21                        int lineNumber) {
22          this.declaringClass = declaringClass;
23          this.methodName = methodName;
24          this.fileName = fileName;
25          this.lineNumber = lineNumber;
26      }
27  }