@classmethod
def from_operating_mode(cls, operating_mode):
    """
        Class constructor.

        Args:
            operating_mode (:class:`.OperatingMode`): the operating mode that generates the exceptions.
        """
    return cls('Unsupported operating mode: ' + operating_mode.description)
