1 <?php
2
3 /**
4 * ArangoDB PHP client: client 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 * Client-Exception
15 *
16 * This exception type will be thrown by the client when there is an error
17 * on the client side, i.e. something the server is not involved in.<br>
18 * <br>
19 *
20 * @package triagens\ArangoDb
21 * @since 0.2
22 */
23 class ClientException extends
24 Exception
25 {
26 /**
27 * Return a string representation of the exception
28 *
29 * @magic
30 *
31 * @return string - string representation
32 */
33 public function __toString()
34 {
35 return __CLASS__ . ': ' . $this->getMessage();
36 }
37 }
38