Package com.tccc.kos.commons.db
Class MigrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tccc.kos.commons.db.MigrationException
- All Implemented Interfaces:
Serializable
Exception thrown whenever an attempt to migrate (either upgrade or rollback)
a database to a different schema fails.
- Since:
- 1.0
- Version:
- 2022-09-01
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMigrationException
(String message) Constructs a new "migration" exception with the specified message.MigrationException
(String message, Throwable cause) Constructs a new "migration" exception with the specified message and 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
-
MigrationException
Constructs a new "migration" exception with the specified message.- Parameters:
message
- the detailed error message
-
MigrationException
Constructs a new "migration" exception with the specified message and cause.- Parameters:
message
- the detailed error messagecause
- the exception that caused this exception
-