class_UserAuthorizationException.php

Go to the documentation of this file.
00001 <?php
00024 class UserAuthorizationException extends FrameworkException {
00032         public function __construct(Filterable $filterInstance, $code) {
00033                 // Construct the message
00034                 $message = sprintf("[%s:%d] Authorization has failed. Error code <span class=\"exception_reason\">%s</span>",
00035                         $filterInstance->__toString(),
00036                         $this->getLine(),
00037                         $this->getHexCode($code)
00038                 );
00039 
00040                 // Call parent exception constructor
00041                 parent::__construct($message, $code);
00042         }
00043 }
00044 
00045 // [EOF]
00046 ?>

Generated on Mon Dec 8 01:06:44 2008 for Ship-Simulator by  doxygen 1.5.6