• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""
2Exceptions that are specific to the swf module.
3
4This module subclasses the base SWF response exception,
5boto.exceptions.SWFResponseError, for some of the SWF specific faults.
6"""
7from boto.exception import SWFResponseError
8
9
10class SWFDomainAlreadyExistsError(SWFResponseError):
11    """
12    Raised when when the domain already exists.
13    """
14    pass
15
16
17class SWFLimitExceededError(SWFResponseError):
18    """
19    Raised when when a system imposed limitation has been reached.
20    """
21    pass
22
23
24class SWFOperationNotPermittedError(SWFResponseError):
25    """
26    Raised when (reserved for future use).
27    """
28
29
30class SWFTypeAlreadyExistsError(SWFResponseError):
31    """
32    Raised when when the workflow type or activity type already exists.
33    """
34    pass
35
36
37class SWFWorkflowExecutionAlreadyStartedError(SWFResponseError):
38    """
39    Raised when an open execution with the same workflow_id is already running
40    in the specified domain.
41    """
42
43
44
45