overrideDefault

Override key's default value.

This method is mostly used for ROKey. It is not much useful for Key because once the key is loaded, its default value is saved to permanent storage and calling overrideDefault on the next application start therefore has no effect (values of ROKeys are not saved).

However, it is still useful if you want to override the default value for new installations without altering the installations already in use.

This method can only be called from overrideDefaults. Otherwise, TooLateToOverrideDefaultException is thrown.

Parameters

value

The value to override the default with.

Throws