public class ExceptionUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Throwable |
getRootCause(Throwable throwable)
Returns the root cause of this throwable.
|
static String |
getThrowLocation(Throwable e)
Retrives the exact location where this exception was thrown.
|
static String |
toMessage(SQLException e)
Transforms the details of this SQLException into a nice readable message.
|
public static Throwable getRootCause(Throwable throwable)
throwable - The throwable to inspect.public static String getThrowLocation(Throwable e)
e - The exception.public static String toMessage(SQLException e)
e - The exception.Copyright © 2022. All rights reserved.