Interface IStacktraceFactory
-
public interface IStacktraceFactory
Stacktrace element factory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IStacktraceFrame
createStackFrame(IStacktraceElement parent, String name, String symlink, String lineNumber, String projectName, boolean extension)
Creates newIStacktraceFrame
.IStacktrace
createStacktrace(String title, String detail, StacktraceFormat stacktraceFormat, String projectName)
Creates newIStacktrace
.IStacktraceElement
createStacktraceElement(IStacktraceElement parent, String name, String projectName)
Creates newStacktraceElement
.IStacktraceError
createStacktraceError(IStacktraceElement parent, String name, String projectName)
Creates newStacktraceError
.
-
-
-
Method Detail
-
createStacktrace
IStacktrace createStacktrace(String title, String detail, StacktraceFormat stacktraceFormat, String projectName)
Creates newIStacktrace
.- Parameters:
title
- the title, cannot benull
detail
- the detail, cannot benull
stacktraceFormat
- the stacktrace format, can benull
projectName
- the project name, can benull
-
createStacktraceElement
IStacktraceElement createStacktraceElement(IStacktraceElement parent, String name, String projectName)
Creates newStacktraceElement
.- Parameters:
parent
- the parent stacktrace element, cannot benull
name
- the name, cannot benull
projectName
- the project name, can benull
-
createStacktraceError
IStacktraceError createStacktraceError(IStacktraceElement parent, String name, String projectName)
Creates newStacktraceError
.- Parameters:
parent
- the parent stacktrace element, cannot benull
name
- the name, cannot benull
projectName
- the project name, can benull
-
createStackFrame
IStacktraceFrame createStackFrame(IStacktraceElement parent, String name, String symlink, String lineNumber, String projectName, boolean extension)
Creates newIStacktraceFrame
.- Parameters:
parent
- the parent stacktrace element, cannot benull
name
- the name, cannot benull
symlink
- the symlink, cannot benull
lineNumber
- the line number, cannot benull
projectName
- the project name, can benull
extension
- whether project is extension project
-
-