Package migratedb.v1.core.internal.util
Class ExceptionUtils
- java.lang.Object
-
- migratedb.v1.core.internal.util.ExceptionUtils
-
public final class ExceptionUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ExceptionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable ThrowablegetRootCause(@Nullable Throwable throwable)static StringtoMessage(SQLException e)Transforms the details of this SQLException into a nice readable message.
-
-
-
Method Detail
-
getRootCause
public static @Nullable Throwable getRootCause(@Nullable Throwable throwable)
- Returns:
- The root cause or the throwable itself if it doesn't have a cause.
-
toMessage
public static String toMessage(SQLException e)
Transforms the details of this SQLException into a nice readable message.
-
-