OLD | NEW |
(Empty) | |
| 1 """ |
| 2 Exceptions that are specific to the swf module. |
| 3 |
| 4 This module subclasses the base SWF response exception, |
| 5 boto.exceptions.SWFResponseError, for some of the SWF specific faults. |
| 6 """ |
| 7 from boto.exception import SWFResponseError |
| 8 |
| 9 |
| 10 class SWFDomainAlreadyExistsError(SWFResponseError): |
| 11 """ |
| 12 Raised when when the domain already exists. |
| 13 """ |
| 14 pass |
| 15 |
| 16 |
| 17 class SWFLimitExceededError(SWFResponseError): |
| 18 """ |
| 19 Raised when when a system imposed limitation has been reached. |
| 20 """ |
| 21 pass |
| 22 |
| 23 |
| 24 class SWFOperationNotPermittedError(SWFResponseError): |
| 25 """ |
| 26 Raised when (reserved for future use). |
| 27 """ |
| 28 |
| 29 |
| 30 class SWFTypeAlreadyExistsError(SWFResponseError): |
| 31 """ |
| 32 Raised when when the workflow type or activity type already exists. |
| 33 """ |
| 34 pass |
| 35 |
| 36 |
| 37 class 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 |
OLD | NEW |