Package migratedb.v1.core.internal.util
Class ExceptionUtils
java.lang.Object
migratedb.v1.core.internal.util.ExceptionUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ThrowablegetRootCause(@Nullable Throwable throwable) static StringRetrieves the exact location where this exception was thrown.static StringTransforms the details of this SQLException into a nice readable message.
-
Constructor Details
-
ExceptionUtils
public ExceptionUtils()
-
-
Method Details
-
getRootCause
- Returns:
- The root cause or the throwable itself if it doesn't have a cause.
-
getThrowLocation
Retrieves the exact location where this exception was thrown. -
toMessage
Transforms the details of this SQLException into a nice readable message.
-