Class MvnStackFrame_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.maven.exception.MvnStackFrame_1_0
-
public class MvnStackFrame_1_0 extends Object
A frame within a stack trace.- See Also:
MvnExceptionData_1_0
-
-
Field Summary
Fields Modifier and Type Field Description String
declaringClass
@Nullable("when the original stack frame\'s file name was an absolute path, or was null") String
fileName
@Nullable("when the frame did not contain an absolute file path") MvnFileRef_1_0
fileRef
The file referenced by the stack frame.int
lineNumber
String
methodName
-
Constructor Summary
Constructors Constructor Description MvnStackFrame_1_0(String declaringClass, String methodName, @Nullable String fileName, @Nullable MvnFileRef_1_0 fileRef, int lineNumber)
-
-
-
Field Detail
-
declaringClass
public final String declaringClass
- See Also:
StackTraceElement.getClassName()
-
methodName
public final String methodName
- See Also:
StackTraceElement.getMethodName()
-
fileName
@Nullable("when the original stack frame\'s file name was an absolute path, or was null") public final @Nullable("when the original stack frame\'s file name was an absolute path, or was null") String fileName
-
fileRef
@Nullable("when the frame did not contain an absolute file path") public final @Nullable("when the frame did not contain an absolute file path") MvnFileRef_1_0 fileRef
The file referenced by the stack frame.If the name indicated an absolute path, this property represents the file. Otherwise,
fileName
conveys the file name.
-
lineNumber
public final int lineNumber
- See Also:
StackTraceElement.getLineNumber()
-
-
Constructor Detail
-
MvnStackFrame_1_0
public MvnStackFrame_1_0(String declaringClass, String methodName, @Nullable @Nullable String fileName, @Nullable @Nullable MvnFileRef_1_0 fileRef, int lineNumber)
-
-