Class MigrateDbSqlException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- migratedb.v1.core.api.MigrateDbException
-
- migratedb.v1.core.internal.exception.MigrateDbSqlException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MigrateDbSqlScriptException
public class MigrateDbSqlException extends MigrateDbException
The specific exception thrown when MigrateDB encounters a problem in SQL statement.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MigrateDbSqlException(String message, SQLException sqlException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()-
Methods inherited from class migratedb.v1.core.api.MigrateDbException
getErrorCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MigrateDbSqlException
public MigrateDbSqlException(String message, SQLException sqlException)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-