This modules contains exceptions that may be raised by a controller PLMObjectController and UserController.
All exceptions defined here derive from ControllerError (except of course ControllerError)
Bases: exceptions.StandardError
Base class of exceptions raised by a PLMObjectController.
Bases: plmapp.exceptions.ControllerError
Exception raised when revise() is called but making a revision is not allowed.
Bases: plmapp.exceptions.ControllerError
Exception raised when lock() is called but the document is already locked.
Bases: plmapp.exceptions.ControllerError
Exception raised when unlock() is called but the document is unlocked or the user is not allowed to unlock the document.
Bases: plmapp.exceptions.ControllerError
Exception raised when an error occurs while adding a file to a document
Bases: plmapp.exceptions.ControllerError
Exception raised when an error occurs while deleting a file from a document
Bases: plmapp.exceptions.ControllerError
Exception raised when a user attempt to made an unauthorized action
Bases: plmapp.exceptions.ControllerError
Exception raised when a user attempt to promote a non-promotable object