Package org.dizitart.no2.exceptions
Class MigrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.dizitart.no2.exceptions.NitriteException
org.dizitart.no2.exceptions.MigrationException
- All Implemented Interfaces:
Serializable
Exception thrown when there is an error during database migration.
- Since:
- 4.0
- Author:
- Anindya Chatterjee
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMigrationException(String errorMessage) Instantiates a new Migration exception.MigrationException(String errorMessage, Throwable cause) Instantiates a new Migration exception. -
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
Instantiates a new Migration exception.- Parameters:
errorMessage- the error message
-
MigrationException
Instantiates a new Migration exception.- Parameters:
errorMessage- the error messagecause- the cause
-