ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Public Member Functions | |
__construct (int $exception_type, $additional_text="") | |
getExceptionType () | |
__toString () | |
![]() | |
__construct ($a_message, $a_code=0) | |
A code isn't optional as in build in class Exception. More... | |
Data Fields | |
const | TYPE_EXCEPTION = 0 |
const | LENGTH_EXCEPTION = 1 |
const | REGEX_EXCEPTION = 2 |
const | UNIQUE_EXCEPTION = 3 |
const | NOT_URL = 4 |
const | NOT_IMAGE = 5 |
const | WRONG_FILE_TYPE = 6 |
const | CUSTOM_MESSAGE = 7 |
const | REGEX_CONFIG_EXCEPTION = 8 |
Protected Attributes | |
ilLanguage | $lng |
int | $exception_type |
string | $additional_text |
Definition at line 21 of file class.ilDclInputException.php.
ilDclInputException::__construct | ( | int | $exception_type, |
$additional_text = "" |
|||
) |
string | $exception_type |
Definition at line 40 of file class.ilDclInputException.php.
References $additional_text, $DIC, $exception_type, ILIAS\GlobalScreen\Provider\__construct(), __toString(), and ILIAS\Repository\lng().
ilDclInputException::__toString | ( | ) |
Definition at line 55 of file class.ilDclInputException.php.
References $additional_text, $message, and ILIAS\Repository\lng().
Referenced by __construct().
ilDclInputException::getExceptionType | ( | ) |
|
protected |
Definition at line 35 of file class.ilDclInputException.php.
Referenced by __construct(), and __toString().
|
protected |
Definition at line 34 of file class.ilDclInputException.php.
Referenced by __construct(), and getExceptionType().
|
protected |
Definition at line 32 of file class.ilDclInputException.php.
const ilDclInputException::CUSTOM_MESSAGE = 7 |
Definition at line 30 of file class.ilDclInputException.php.
const ilDclInputException::LENGTH_EXCEPTION = 1 |
Definition at line 24 of file class.ilDclInputException.php.
Referenced by ilDclTextFieldModel\checkRegexAndLength().
const ilDclInputException::NOT_IMAGE = 5 |
Definition at line 28 of file class.ilDclInputException.php.
const ilDclInputException::NOT_URL = 4 |
Definition at line 27 of file class.ilDclInputException.php.
Referenced by ilDclTextFieldModel\checkValidityOfURLField().
const ilDclInputException::REGEX_CONFIG_EXCEPTION = 8 |
Definition at line 31 of file class.ilDclInputException.php.
Referenced by ilDclTextFieldModel\checkRegexAndLength().
const ilDclInputException::REGEX_EXCEPTION = 2 |
Definition at line 25 of file class.ilDclInputException.php.
Referenced by ilDclTextFieldModel\checkRegexAndLength().
const ilDclInputException::TYPE_EXCEPTION = 0 |
Definition at line 23 of file class.ilDclInputException.php.
Referenced by ilDclNumberFieldModel\checkValidity(), and ilDclBooleanFieldModel\checkValidityFromForm().
const ilDclInputException::UNIQUE_EXCEPTION = 3 |
Definition at line 26 of file class.ilDclInputException.php.
Referenced by ilDclBaseFieldModel\checkValidity(), and ilDclTextFieldModel\checkValidityOfURLField().
const ilDclInputException::WRONG_FILE_TYPE = 6 |
Definition at line 29 of file class.ilDclInputException.php.