summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/Exception/XmlParserException.php
blob: a81e7c73fabdf17474c8aaecb89d12560a89e84b (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 XmlParserException extends \Exception {

	/**
	 * @since  2.1
	 *
	 * @param string $errorText
	 * @param integer $errorLine
	 * @param integer $errorColumn
	 */
	public function __construct( $errorText, $errorLine, $errorColumn ) {
		parent::__construct( "Failed with $errorText on line $errorLine and column $errorColumn .\n" );
	}

}