blob: 75c347c43a2db10acaccca89877fb1839cd437e3 (
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
25
26
|
<?php
namespace SMW\SPARQLStore\Exception;
/**
* @ingroup Sparql
*
* @license GNU GPL v2+
* @since 2.1
*
* @author mwjames
*/
class HttpEndpointConnectionException extends \Exception {
/**
* @since 2.1
*
* @param string $endpoint
* @param integer $errorCode
* @param string $errorText
*/
public function __construct( $endpoint, $errorCode, $errorText ) {
parent::__construct( "Failed to communicate to Endpoint: $endpoint\n" . "due to curl error: $errorCode ($errorText).\n" );
}
}
|