[android-components](../../index.md) / [mozilla.components.support.migration](../index.md) / [AddonMigrationException](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`AddonMigrationException(failure: `[`Failure`](../-addon-migration-result/-failure.md)`)`

Wraps [AddonMigrationResult](../-addon-migration-result/index.md) in an exception so that it can be returned via [Result.Failure](../-result/-failure/index.md).

