Package migratedb.v1.core.api
Class MigrateDbException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
migratedb.v1.core.api.MigrateDbException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DbMigrate.MigrateDbMigrateException,MigrateDbSqlException,MigrateDbUpgradeRequiredException,MigrateDbValidateException
Exception thrown when MigrateDB encounters a problem.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new MigrateDbException.MigrateDbException(String message) Creates a new MigrateDbException with this message.MigrateDbException(String message, Throwable cause) Creates a new MigrateDbException with this message and this cause.MigrateDbException(String message, Throwable cause, ErrorCode errorCode) Creates a new MigrateDbException with this message, cause, and error code.MigrateDbException(String message, ErrorCode errorCode) Creates a new MigrateDbException with this message and error codeMigrateDbException(Throwable cause) Creates a new MigrateDbException with this cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MigrateDbException
Creates a new MigrateDbException with this message, cause, and error code.- Parameters:
message- The exception message.cause- The exception cause.errorCode- The error code.
-
MigrateDbException
Creates a new MigrateDbException with this message and error code- Parameters:
message- The exception message.errorCode- The error code.
-
MigrateDbException
Creates a new MigrateDbException with this message and this cause.- Parameters:
message- The exception message.cause- The exception cause.
-
MigrateDbException
Creates a new MigrateDbException with this cause. For use in subclasses that override getMessage().- Parameters:
cause- The exception cause.
-
MigrateDbException
Creates a new MigrateDbException with this message.- Parameters:
message- The exception message.
-
MigrateDbException
public MigrateDbException()Creates a new MigrateDbException. For use in subclasses that override getMessage().
-
-
Method Details
-
getErrorCode
-