]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/auth/class_UserAuthorizationException.php
Exceptions now with not so much underlines
[shipsimu.git] / inc / classes / exceptions / auth / class_UserAuthorizationException.php
index 5fedd40f32c48c2adf764e313eabf97e23caa29d..a491f7a44990ab6f0e5d87b232dc8438b8c0324d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
 <?php
 /**
- * 
+ * An exception thrown when authorization of the user has failed
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
@@ -31,7 +31,7 @@ class UserAuthorizationException extends FrameworkException {
         */
        public function __construct(Filterable $filterInstance, $code) {
                // Construct the message
         */
        public function __construct(Filterable $filterInstance, $code) {
                // Construct the message
-               $message = sprintf("[%s:%d] Authorization has failed. Error code <u>%s</u>",
+               $message = sprintf("[%s:%d] Authorization has failed. Error code <span id=\"exception_reason\">%s</span>",
                        $filterInstance->__toString(),
                        $this->getLine(),
                        $this->getHexCode($code)
                        $filterInstance->__toString(),
                        $this->getLine(),
                        $this->getHexCode($code)