Skip to content

Commit

Permalink
updated http exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ionas committed Jan 3, 2016
1 parent b0f0ec4 commit 30c8bb5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Network/Exception/HttpException.php
Expand Up @@ -19,7 +19,10 @@
* All HTTP status/error related exceptions should extend this class so
* catch blocks can be specifically typed.
*
* You may also use this as a meaningful bridge to Cake\Core\Exception\Exception, e.g.:
* throw new \Cake\Network\Exception\HttpException('HTTP Version Not Supported', 505);
*
*/
abstract class HttpException extends Exception
class HttpException extends Exception
{
}

0 comments on commit 30c8bb5

Please sign in to comment.