Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| InvalidValueException | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| getUserMessage | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * To change this license header, choose License Headers in Project Properties. |
| 5 | * To change this template file, choose Tools | Templates |
| 6 | * and open the template in the editor. |
| 7 | */ |
| 8 | |
| 9 | namespace oat\generis\model\kernel\persistence\smoothsql\search\exception; |
| 10 | |
| 11 | /** |
| 12 | * Query invalid value exception |
| 13 | * |
| 14 | * @author Christophe GARCIA <christopheg@taotesting.com> |
| 15 | */ |
| 16 | class InvalidValueException extends \InvalidArgumentException implements \common_exception_UserReadableException |
| 17 | { |
| 18 | /** |
| 19 | * Get the human-readable message for the end-user. It is supposed |
| 20 | * to be translated and does not contain any confidential information |
| 21 | * about the system and its sensitive data. |
| 22 | * |
| 23 | * @return string A human-readable message. |
| 24 | */ |
| 25 | public function getUserMessage() |
| 26 | { |
| 27 | return __("Wrong Value, try again please or contact your system administrator"); |
| 28 | } |
| 29 | } |