01: /*
02: * Copyright 2004 Outerthought bvba and Schaubroeck nv
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.outerj.daisy.repository.clientimpl.infrastructure;
17:
18: public class MyStackTraceElement {
19: private String className;
20: private String fileName;
21: private int lineNumber;
22: private String methodName;
23: private boolean nativeMethod;
24:
25: public MyStackTraceElement(String className, String fileName,
26: int lineNumber, String methodName, boolean nativeMethod) {
27: this .className = className;
28: this .fileName = fileName;
29: this .lineNumber = lineNumber;
30: this .methodName = methodName;
31: this .nativeMethod = nativeMethod;
32: }
33:
34: public String getClassName() {
35: return className;
36: }
37:
38: public String getFileName() {
39: return fileName;
40: }
41:
42: public int getLineNumber() {
43: return lineNumber;
44: }
45:
46: public String getMethodName() {
47: return methodName;
48: }
49:
50: public boolean isNativeMethod() {
51: return nativeMethod;
52: }
53: }
|