class_WrapperUserNameNotFoundException.php

Go to the documentation of this file.
00001 <?php
00026 class WrapperUserNameNotFoundException extends DatabaseException {
00034         public function __construct (array $msgArray, $code) {
00035                 // Add a message around the missing class
00036                 $message = sprintf("[%s:%d] Username <span class=\"exception_reason\">%s</span> was not found. Requesting class: <span class=\"exception_reason\">%s</span>",
00037                         $msgArray[0]->__toString(),
00038                         $this->getLine(),
00039                         $msgArray[1]->getUserName(),
00040                         $msgArray[1]->__toString()
00041                 );
00042 
00043                 // Call parent constructor
00044                 parent::__construct($message, $code);
00045         }
00046 }
00047 
00048 // [EOF]
00049 ?>

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