/** * FieldSizeException Constructor * * @param integer Length of the data entered by the user * @param integer Minimum length of field * @param integer Maximum length of field */ public function __construct($length, $min, $max) { parent::__construct(); $this->length = $length; $this->min = $min == null ? 0 : $min; $this->max = $max == null ? 0 : $max; }
/** * FieldBoundsException Constructor * * @param float Value entered by the user * @param float Minimum value * @param float Maximum value */ public function __construct($userValue, $min, $max) { parent::__construct(); $this->userValue = $userValue; $this->min = $min; $this->max = $max; }
/** * FieldMissingException Constructor */ public function __construct($fieldName = null) { parent::__construct(); $this->setField($fieldName); }
/** * EmailFieldException Constructor */ public function __construct() { parent::__construct(); }
/** * RecordNotFoundException Constructor */ public function __construct($recordType) { parent::__construct(); $this->recordType = $recordType; }