Package org.ametys.core.migration
Class MigrationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.ametys.core.migration.MigrationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NotMigrableInSafeModeException
public class MigrationException extends Exception
Exception that occured during an automatic migration- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MigrationException(String message)
Constructs a new exception with the specified detail message.MigrationException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.MigrationException(Throwable cause)
Constructs a new exception with the specified cause.
-
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 message)
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.
-
MigrationException
public MigrationException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the cause.
-
MigrationException
public MigrationException(Throwable cause)
Constructs a new exception with the specified cause.- Parameters:
cause
- the specified cause.
-
-