aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/PDOConnectionException.php
blob: 0647487083a6407ccad07c170769d4e57637d8b5 (plain)
1
2
3
4
5
6
7
8
9
<?php
class Minz_PDOConnectionException extends Minz_Exception {
	public function __construct ($string_connection, $user, $code = self::ERROR) {
		$message = 'Access to database is denied for `' . $user . '`'
		         . ' (`' . $string_connection . '`)';

		parent::__construct ($message, $code);
	}
}