/**
  * @param string $operation
  */
 public function __construct($operation)
 {
     $this->operation = $operation;
     parent::__construct("The {$operation} operation is not supported");
 }
 public function __construct($message = 'Key not found in array/collection', $code = 0, $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 public function __construct($message = 'Array/Collection is read-only, you cannot alter it', $code = 0, $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 /**
  * 
  * @param int $index
  */
 public function __construct($index)
 {
     $this->index = $index;
     parent::__construct("{$index} was out of bounds");
 }
 public function __construct($message = 'Array/collection is currently empty', $code = 0, $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 public function __construct($message = 'Key already exists in array/collection', $code = 0, $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 /**
  * 
  * @param multitype $expected
  * @param multitype $received
  */
 public function __construct($expected, $received)
 {
     $this->expected = $expected;
     $this->received = $received;
     parent::__construct("Expected {$expected}, received {$received}");
 }
 public function __construct($message = 'Cannot add items to array/collection, it is already full', $code = 0, $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }