All Downloads are FREE. Search and download functionalities are using the official Maven repository.

avabrake.0.1.5.source-code.NoticeStackFrame Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package io.airbrake.javabrake;

import java.util.Map;

public class NoticeStackFrame {
  static ClassUtil util = new ClassUtil();

  public final String function;
  public final String file;
  public final int line;

  public NoticeStackFrame(StackTraceElement el) {
    this(el.getMethodName(), util.getFilepath(el.getClassName()), el.getLineNumber());
  }

  public NoticeStackFrame(String function, String file, int line) {
    this.function = function;
    this.file = file;
    this.line = line;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy