/**
  * @param string $id
  * @param int $value
  * @param int $type
  */
 public function __construct($id, $value, $type)
 {
     $this->value = $value;
     $this->id = $id;
     $this->type = $type;
     parent::__construct('The condition with id ' . $id . ' the value "' . $value . '" does not match the type ' . $type, 0);
 }
Esempio n. 2
0
 public function __construct($id)
 {
     $this->entityName = 'SuluResourceBundle:Filter';
     $this->id = $id;
     parent::__construct('The filter with the id "' . $this->id . '" was not found.', 0);
 }
Esempio n. 3
0
 public function __construct($context)
 {
     $this->context = $context;
     parent::__construct('The context ' . $context . ' is unknown!', 0);
 }
 public function __construct($attribute)
 {
     $this->attribute = $attribute;
     parent::__construct('The attribute with the name "' . $this->attribute . '" is missing.', 0);
 }
 public function __construct($entityName, $id)
 {
     $this->entityName = $entityName;
     $this->id = $id;
     parent::__construct('The filter dependency "' . $this->entityName . ' with the id "' . $this->id . '" was not found.', 0);
 }
 public function __construct($id)
 {
     $this->id = $id;
     parent::__construct('The condition group with the id "' . $this->id . '" is not related to the given conditions.', 0);
 }
Esempio n. 7
0
 public function __construct($filter)
 {
     $this->filter = $filter;
     parent::__construct('The filter with the name "' . $this->filter . '" is missing.', 0);
 }
Esempio n. 8
0
 public function __construct($context, $featureName)
 {
     $this->featureName = $featureName;
     $this->context = $context;
     parent::__construct('The feature "' . $featureName . '" is not enabled for the context "' . $context . '""!', 0);
 }
Esempio n. 9
0
 /**
  * Constructor
  * 
  * @param string $message
  * @param array $options 
  */
 public function __construct($message, array $options)
 {
     parent::__construct($message);
     $this->options = $options;
 }
 public function __construct($field)
 {
     $this->field = $field;
     parent::__construct('The condition field with the name "' . $this->field . '" could not be found.', 0);
 }