diff options
Diffstat (limited to 'shell/Evolution-Component.idl')
-rw-r--r-- | shell/Evolution-Component.idl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/shell/Evolution-Component.idl b/shell/Evolution-Component.idl index 69893387fc..f200680633 100644 --- a/shell/Evolution-Component.idl +++ b/shell/Evolution-Component.idl @@ -33,11 +33,18 @@ module Evolution { interface Component : Bonobo::Unknown { exception Failed {}; exception UnknownType {}; + /* We don't know about the old version we're upgrading from */ + exception UnsupportedVersion {}; + /* We encountered a non-recoverable, fatal error, explain why */ + exception UpgradeFailed { + string what; + string why; + }; /*** Upgrade path. ***/ - boolean upgradeFromVersion (in short major, in short minor, in short revision); - + void upgradeFromVersion (in short major, in short minor, in short revision) + raises (UnsupportedVersion, UpgradeFailed); /*** Basic functionality. ***/ |