| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | class Tiqr_Message_Exception_SendFailure extends Tiqr_Message_Exception |
||
| 28 | { |
||
| 29 | private $_temporary; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Constructor |
||
| 33 | * |
||
| 34 | * @param string $message exception message |
||
| 35 | * @param boolean $temporary temporary failure? |
||
| 36 | * @param Exception $parent parent exception |
||
| 37 | */ |
||
| 38 | public function __construct($message, $temporary=false, Exception $parent=null) |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Is temporary failure? E.g. it's possible to try again later on? |
||
| 46 | * |
||
| 47 | * @return boolean is temporary failure? |
||
| 48 | */ |
||
| 49 | public function isTemporary() |
||
| 54 |