Throw the proper exceptions when the connection can't be established

This commit is contained in:
Robin Appelman 2013-03-14 23:23:46 +01:00
commit 2ed803907f
4 changed files with 55 additions and 4 deletions

View file

@ -20,5 +20,11 @@ class NotEmptyException extends \Exception {
class ConnectionError extends \Exception {
}
class AuthenticationException extends \Exception {
}
class InvalidHostException extends \Exception {
}
class AccessDeniedException extends \Exception {
}