Doctrine\OrientDB\Exception::__construct PHP Method

__construct() public method

public __construct ( $message )
    public function __construct($message)
    {
        $this->message = $message;
    }

Usage Example

 /**
  * Generates an exception giving information about the client which performed
  * the request and the unreachable location.
  *
  * @param string $client
  * @param string $location
  */
 public function __construct($client, $location)
 {
     $this->client = $client;
     $this->location = $location;
     $clientClass = get_class($client);
     parent::__construct("{$clientClass} has been unable to retrieve a response for the resource at {$location}");
 }
All Usage Examples Of Doctrine\OrientDB\Exception::__construct
Exception