class PluginMagneticSwitchException