| 1 | <?php |
||
| 21 | class XOrderValidationException extends Exception |
||
| 22 | { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | public $errors; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Constructor |
||
| 31 | * |
||
| 32 | * @param array $errors |
||
| 33 | */ |
||
| 34 | public function __construct(array $errors) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get the array of xml validation errors. |
||
| 42 | * |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | final public function getErrors() |
||
| 49 | } |
||
| 50 |