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:
  • Constructor Details

    • MigrationException

      public MigrationException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message.
    • MigrationException

      public MigrationException(String message, String causeMessage)
      Constructs a new exception with the specified detail message, associated with the initial failure cause.
      Parameters:
      message - the detail message.
      causeMessage - the failure 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(String message, String causeMessage, Throwable cause, MigrationEngine.ActionData action)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - the detail message.
      causeMessage - the failure message.
      cause - the cause.
      action - the failed action
    • MigrationException

      Constructs a new exception with the specified cause.
      Parameters:
      cause - the specified cause.
  • Method Details