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
public class MigrationException extends NitriteException
Exception thrown when there is an error during database migration.- Since:
- 4.0
- Author:
- Anindya Chatterjee
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MigrationException(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 Detail
-
MigrationException
public MigrationException(String errorMessage)
Instantiates a new Migration exception.- Parameters:
errorMessage
- the error message
-
-