summaryrefslogtreecommitdiff
path: root/lib/Minz/PDOConnectionException.php
blob: faf2e0fe91c4b2e9efdb11bffa17137a7ef92b88 (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);
	}
}