Interface IStacktraceFactory


  • public interface IStacktraceFactory
    Stacktrace element factory.
    • Method Detail

      • createStacktrace

        IStacktrace createStacktrace​(String title,
                                     String detail,
                                     StacktraceFormat stacktraceFormat,
                                     String projectName)
        Creates new IStacktrace.
        Parameters:
        title - the title, cannot be null
        detail - the detail, cannot be null
        stacktraceFormat - the stacktrace format, can be null
        projectName - the project name, can be null
      • createStacktraceElement

        IStacktraceElement createStacktraceElement​(IStacktraceElement parent,
                                                   String name,
                                                   String projectName)
        Creates new StacktraceElement.
        Parameters:
        parent - the parent stacktrace element, cannot be null
        name - the name, cannot be null
        projectName - the project name, can be null
      • createStacktraceError

        IStacktraceError createStacktraceError​(IStacktraceElement parent,
                                               String name,
                                               String projectName)
        Creates new StacktraceError.
        Parameters:
        parent - the parent stacktrace element, cannot be null
        name - the name, cannot be null
        projectName - the project name, can be null
      • createStackFrame

        IStacktraceFrame createStackFrame​(IStacktraceElement parent,
                                          String name,
                                          String symlink,
                                          String lineNumber,
                                          String projectName,
                                          boolean extension)
        Creates new IStacktraceFrame.
        Parameters:
        parent - the parent stacktrace element, cannot be null
        name - the name, cannot be null
        symlink - the symlink, cannot be null
        lineNumber - the line number, cannot be null
        projectName - the project name, can be null
        extension - whether project is extension project