1 <?php
2 /**
3 * Exception thrown by the simpleWorkflow behavior.
4 */
5 class SWException extends CException
6 {
7 const SW_ERR_ATTR_NOT_FOUND=01;
8 const SW_ERR_REETRANCE=02;
9 const SW_ERR_WRONG_TYPE=03;
10 const SW_ERR_IN_WORKFLOW=04;
11 const SW_ERR_CREATE_FAILS=05;
12 const SW_ERR_WRONG_STATUS=06;
13 const SW_ERR_WORKFLOW_NOT_FOUND=07;
14 const SW_ERR_WORKFLOW_ID=08;
15 const SW_ERR_NODE_NOT_FOUND=09;
16 const SW_ERR_STATUS_UNREACHABLE=10;
17
18 const SW_ERR_CREATE_NODE=11;
19 const SW_ERR_MISSING_NODE_ID=12;
20 }
21 ?>