1 <?php
2
3 /**
4 * ArangoDB PHP client: connect exception
5 *
6 * @package triagens\ArangoDb
7 * @author Jan Steemann
8 * @copyright Copyright 2012, triagens GmbH, Cologne, Germany
9 */
10
11 namespace triagens\ArangoDb;
12
13 /**
14 * Connect-Exception
15 *
16 * This exception type will be thrown by the client when there is an error
17 * during connecting to the server.<br>
18 * <br>
19 *
20 * @package triagens\ArangoDb
21 * @since 0.2
22 */
23 class ConnectException extends
24 Exception
25 {
26 /**
27 * Return a string representation of the exception
28 *
29 * @return string - string representation
30 */
31 public function __toString()
32 {
33 return __CLASS__ . ': ' . $this->getMessage();
34 }
35 }
36