Class DuplicateVersionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.ozwolf.mongo.migrations.exception.DuplicateVersionException
-
- All Implemented Interfaces:
Serializable
public class DuplicateVersionException extends RuntimeException
Duplicate Version Exception
This unchecked exception is thrown by mongoTrek when it detects that a migration version number has been used more than one time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateVersionException(Migration migration)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DuplicateVersionException
public DuplicateVersionException(Migration migration)
-
-