]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/io/class_FilePointerNotOpenedException.php
Registration stub added, naming convention applied, support for PHP code (keep it...
[shipsimu.git] / inc / classes / exceptions / io / class_FilePointerNotOpenedException.php
index 841782a461c82446c1f2ee48c62b4adc51c281e9..27fe8d1d40b9c1f78ef6fa7e1a872c749b898c58 100644 (file)
@@ -25,13 +25,13 @@ class FilePointerNotOpenedException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $message                Message from the exception
+        * @param               $fqfn           Full-qualified file name of (maybe) missing file
         * @param               $code           Code number for the exception
         * @return      void
         */
-       public function __construct ($path, $code) {
+       public function __construct ($fqfn, $code) {
                // Add a message around the missing class
-               $message = sprintf("F&uuml;r die Datei <u>%s</u> konnte kein Pointer initialisiert werden. M&ouml;glicherweise ist die Datei nicht lesbar oder fehlt!", $path);
+               $message = sprintf("Not able to initialize a pointer for the file <u>%s</u>. Maybe the file is missing.", $fqfn);
 
                // Call parent constructor
                parent::__construct($message, $code);