本文整理了Java中org.boon.Exceptions.getFilteredStackTrace()
方法的一些代码示例,展示了Exceptions.getFilteredStackTrace()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Exceptions.getFilteredStackTrace()
方法的具体详情如下:
包路径:org.boon.Exceptions
类名称:Exceptions
方法名:getFilteredStackTrace
暂无
代码示例来源:origin: boonproject/boon
public StackTraceElement[] getFilteredStackTrace() {
StackTraceElement[] filteredStackTrace = Exceptions.getFilteredStackTrace(super.getStackTrace());
if ( filteredStackTrace.length > 0 ) {
if (super.getCause() != null) {
StackTraceElement[] cause = Exceptions.getFilteredStackTrace(super.getCause().getStackTrace());
if (cause.length > 0) {
filteredStackTrace= add(cause, filteredStackTrace);
}
}
} else {
if (super.getCause() != null) {
filteredStackTrace = Exceptions.getFilteredStackTrace(super.getCause().getStackTrace());
}
}
return Exceptions.getFilteredStackTrace(super.getStackTrace());
}
代码示例来源:origin: boonproject/boon
public StackTraceElement[] getFilteredStackTrace() {
StackTraceElement[] filteredStackTrace = Exceptions.getFilteredStackTrace(super.getStackTrace());
if ( filteredStackTrace.length > 0 ) {
if (super.getCause() != null) {
StackTraceElement[] cause = Exceptions.getFilteredStackTrace(super.getCause().getStackTrace());
if (cause.length > 0) {
filteredStackTrace= add(cause, filteredStackTrace);
}
}
} else {
if (super.getCause() != null) {
filteredStackTrace = Exceptions.getFilteredStackTrace(super.getCause().getStackTrace());
}
}
return Exceptions.getFilteredStackTrace(super.getStackTrace());
}
代码示例来源:origin: io.fastjson/boon
public StackTraceElement[] getFilteredStackTrace() {
StackTraceElement[] filteredStackTrace = Exceptions.getFilteredStackTrace(super.getStackTrace());
if ( filteredStackTrace.length > 0 ) {
if (super.getCause() != null) {
StackTraceElement[] cause = Exceptions.getFilteredStackTrace(super.getCause().getStackTrace());
if (cause.length > 0) {
filteredStackTrace= add(cause, filteredStackTrace);
}
}
} else {
if (super.getCause() != null) {
filteredStackTrace = Exceptions.getFilteredStackTrace(super.getCause().getStackTrace());
}
}
return Exceptions.getFilteredStackTrace(super.getStackTrace());
}
代码示例来源:origin: boonproject/boon
public static Map asMap(Exception ex) {
StackTraceElement[] stackTrace = getFilteredStackTrace(ex.getStackTrace());
List stackTraceList = Lists.list(stackTrace);
List fullStackTrace = Lists.list(ex.getStackTrace());
return map(
"message", ex.getMessage(),
"causeMessage", ex.getCause()!=null ? ex.getCause().getMessage() : "none",
"stackTrace", stackTraceList,
"fullStackTrace", fullStackTrace
);
}
代码示例来源:origin: boonproject/boon
public static Map asMap(Exception ex) {
StackTraceElement[] stackTrace = getFilteredStackTrace(ex.getStackTrace());
List stackTraceList = Lists.list(stackTrace);
List fullStackTrace = Lists.list(ex.getStackTrace());
return map(
"message", ex.getMessage(),
"causeMessage", ex.getCause()!=null ? ex.getCause().getMessage() : "none",
"stackTrace", stackTraceList,
"fullStackTrace", fullStackTrace
);
}
代码示例来源:origin: io.fastjson/boon
public static Map asMap(Exception ex) {
StackTraceElement[] stackTrace = getFilteredStackTrace(ex.getStackTrace());
List stackTraceList = Lists.list(stackTrace);
List fullStackTrace = Lists.list(ex.getStackTrace());
return map(
"message", ex.getMessage(),
"causeMessage", ex.getCause()!=null ? ex.getCause().getMessage() : "none",
"stackTrace", stackTraceList,
"fullStackTrace", fullStackTrace
);
}
代码示例来源:origin: boonproject/boon
StackTraceElement[] filteredStackTrace = getFilteredStackTrace(record.getThrown().getStackTrace());
代码示例来源:origin: boonproject/boon
StackTraceElement[] filteredStackTrace = getFilteredStackTrace(record.getThrown().getStackTrace());
代码示例来源:origin: io.fastjson/boon
StackTraceElement[] filteredStackTrace = getFilteredStackTrace(record.getThrown().getStackTrace());
代码示例来源:origin: boonproject/boon
StackTraceElement[] stackTrace = getFilteredStackTrace(ex.getStackTrace());
代码示例来源:origin: boonproject/boon
StackTraceElement[] stackTrace = getFilteredStackTrace(ex.getStackTrace());
代码示例来源:origin: io.fastjson/boon
StackTraceElement[] stackTrace = getFilteredStackTrace(ex.getStackTrace());
内容来源于网络,如有侵权,请联系作者删除!