cn.gtmap.estateplat.utils
类 ExUtils
java.lang.Object
cn.gtmap.estateplat.utils.ExUtils
public final class ExUtils
- extends Object
.
- 版本:
- V1.0, 12-8-12
- 作者:
- yangxin
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRootCause
public static Throwable getRootCause(Throwable cause)
wrap
public static AppException wrap(Throwable ex)
throwEx
public static void throwEx(Throwable ex)
throwRoot
public static void throwRoot(Exception e)
raw
public static Exception raw(Exception ex)
parseCode
public static int parseCode(Throwable cause)
buildMessage
public static String buildMessage(int code,
Object[] args,
String customMessage,
Throwable cause)
buildNestedMessage
public static String buildNestedMessage(String message,
Throwable ex)
buildNestedMessage
public static String buildNestedMessage(Throwable ex)
buildStackTrace
public static String buildStackTrace(Throwable cause)
toMap
public static Map<String,Object> toMap(Exception ex)
extractSource
public static Source extractSource(List<SourceExtractor> sourceExtractors,
Throwable ex)
Copyright © 2015–2018 cn.gtmap. All rights reserved.