blob: a34e34caba9cc9e1e2e2ecd559fd2a4efd27ed20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
namespace SMW\Elastic\Exception;
use RuntimeException;
/**
* @license GNU GPL v2+
* @since 3.0
*
* @author mwjames
*/
class NoConnectionException extends RuntimeException {
/**
* @since 3.0
*/
public function __construct() {
parent::__construct(
"Could not establish a connection to Elasticsearch using " . json_encode( $GLOBALS['smwgElasticsearchEndpoints'] )
);
}
}
|