ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
IntegerValue.php
Go to the documentation of this file.
1<?php
2
4
6
8{
9 public function setValue($integer)
10 {
11 if (!is_integer($integer)) {
12 throw new InvalidArgumentException("The value given must be an integer! See php-documentation is_integer().");
13 }
14
15 parent::setValue($integer);
16 }
17}
An exception for terminatinating execution or to throw for unit testing.