bjyoungblood/BjyAuthorize — pull request #163 by ftdebugger (2013-06-27 12:04:47+00:00)
Title: Show exception details in console

When BjyAuthorize rejected request in console, zend output something like this

```
======================================================================
The application has thrown an exception!
======================================================================

----------------------------------------------------------------------
:

======================================================================
Previous Exception(s):
```

This PR create exception with more information. So zend output

```
======================================================================
The application has thrown an exception!
======================================================================
BjyAuthorize\Exception\UnAuthorizedException
You are not authorized to access assetic-build
----------------------------------------------------------------------
/var/www/work/logic-by/vendor/bjyoungblood/bjy-authorize/src/BjyAuthorize/Guard/Route.php:133
#0 [internal function]: BjyAuthorize\Guard\Route->onRoute(Object(Zend\Mvc\MvcEvent))
#1 /var/www/work/logic-by/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#2 /var/www/work/logic-by/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('route', Object(Zend\Mvc\MvcEvent), Object(Closure))
#3 /var/www/work/logic-by/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(290): Zend\EventManager\EventManager->trigger('route', Object(Zend\Mvc\MvcEvent), Object(Closure))
#4 /var/www/work/logic-by/public/index.php(16): Zend\Mvc\Application->run()
#5 {main}
======================================================================
Previous Exception(s):
```