Package dev.turboism.sdk.config
Class ConfigMigrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.turboism.sdk.config.ConfigMigrationException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionConfigMigrationException(String message) Creates a migration failure with a sanitized explanation.ConfigMigrationException(String message, Throwable cause) Creates a migration failure with its underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigMigrationException
Creates a migration failure with a sanitized explanation.- Parameters:
message- failure description
-
ConfigMigrationException
Creates a migration failure with its underlying cause.- Parameters:
message- failure descriptioncause- underlying failure
-