Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

exceptions.py 751B

123456789101112131415161718192021222324252627
  1. # -*- coding: utf-8 -*-
  2. ## @brief An exception class to tell that a component don't exist
  3. class EmComponentNotExistError(Exception):
  4. pass
  5. ## @brief Raised on uniq constraint error at creation
  6. # This exception class is dedicated to be raised when create() method is called
  7. # if an EmComponent with this name but different parameters allready exist
  8. class EmComponentExistError(Exception):
  9. pass
  10. ## @brief An exception class to tell that no ranking exist yet for the group of the object
  11. class EmComponentRankingNotExistError(Exception):
  12. pass
  13. ## @brief An exception class to return a failure reason for EmComponent.check() method
  14. class EmComponentCheckError(Exception):
  15. pass
  16. class MigrationHandlerChangeError(Exception):
  17. pass