Class ConfigMigrationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.turboism.sdk.config.ConfigMigrationException
All Implemented Interfaces:
Serializable

public class ConfigMigrationException extends Exception
Checked failure from a ConfigMigration.

The runtime converts this failure into a typed migration result and fails closed to the declared default instead of partially accepting migrated persistence.

See Also:
  • Constructor Details

    • ConfigMigrationException

      public ConfigMigrationException(String message)
      Creates a migration failure with a sanitized explanation.
      Parameters:
      message - failure description
    • ConfigMigrationException

      public ConfigMigrationException(String message, Throwable cause)
      Creates a migration failure with its underlying cause.
      Parameters:
      message - failure description
      cause - underlying failure