]> git.mxchange.org Git - shipsimu.git/commitdiff
No longer thrown exceptions deprecated (still some there), naming-convention todo...
authorRoland Häder <roland@mxchange.org>
Sun, 16 Nov 2008 01:22:42 +0000 (01:22 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 16 Nov 2008 01:22:42 +0000 (01:22 +0000)
inc/classes/exceptions/database/wrapper/class_WrapperUserNameNotFoundException.php
inc/classes/exceptions/io/class_FileNotFoundException.php
inc/classes/exceptions/main/class_ClassNotFoundException.php
inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php
inc/classes/exceptions/main/class_ExceptionNotFoundException.php
inc/classes/exceptions/main/class_GetterNotFoundException.php
inc/classes/exceptions/main/class_NoArrayCreatedException.php
inc/classes/exceptions/template/class_ViewHelperNotFoundException.php
inc/classes/main/database/wrapper/class_UserDatabaseWrapper.php
tests/old/loader-test.php
tests/old/personell-test.php

index 042255278f6593be09fb011252f41b7b4cc49006..819b388fe89411ea734064d4850c03f3b24cf67e 100644 (file)
@@ -7,7 +7,9 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
- * 
+ * @todo               This class is no longer used
+ * @deprecated
+ *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
index e2e7dbce13117032bd9bc9b5cb2b422f242dd03f..ea31a49f3315cfb2347373ceed7b1fba20de593d 100644 (file)
@@ -7,7 +7,9 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
- * 
+ * @todo               Rename this class to FileIoException
+ * @deprecated
+ *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
index 1dcf9bdab57e3a5a58664c1e52e5771122f163cc..3a7b995cf00a213049ce14da8223521d0aa6d75a 100644 (file)
@@ -7,7 +7,9 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
- * 
+ * @todo               Rename this class to NoClassException
+ * @deprecated
+ *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
index 40c3c71edb3a3f39933f3f8dc46e7170f21e54e5..76be0f13700803e29e92991642361b32d1229c85 100644 (file)
@@ -7,7 +7,9 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
- * 
+ * @todo               Rename this class to NoFoundEntryException
+ * @deprecated
+ *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
index 81ff4f14a3e0036fe31b85fbee1dc2fd1ca9c79a..42dc611e3521a4084b77fe8c488246889362e6be 100644 (file)
@@ -7,7 +7,9 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
- * 
+ * @todo               Is this exception still needed???
+ * @deprecated
+ *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
index 0020169c97d4bc0c402d83243802b0cc297c5ebd..9a918c3e6a92ce4f72f75e9d9b6f6c03ff25cbfb 100644 (file)
@@ -7,7 +7,9 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
- * 
+ * @todo               This class is no longer needed!
+ * @deprecated
+ *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
index e9f00de6dd7b9e29b4f0e95cd5d75c228731484a..77072fa46c4095ba3492c8d23e74040ee306d7a8 100644 (file)
@@ -7,6 +7,8 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
+ * @todo               This class is no longer needed
+ * @deprecated
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 06dea771306c1e04319db8e4ebfed1424ffc4486..37b33427deb643b5d12474b6513ae06e1996533f 100644 (file)
@@ -7,6 +7,8 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
+ * @todo               Rename this class to NoViewHelperException
+ * @deprecated
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 39e128387bb4820aae24f52f7cbb0bdd3587ff31..503fbadb02089e2e2f0007fec6b077d5e406135a 100644 (file)
@@ -49,8 +49,6 @@ class UserDatabaseWrapper extends BaseDatabaseWrapper {
         * Creates an instance of this database wrapper by a provided user class
         *
         * @return      $wrapperInstance        An instance of the created wrapper class
         * Creates an instance of this database wrapper by a provided user class
         *
         * @return      $wrapperInstance        An instance of the created wrapper class
-        * @throws      WrapperUserNameNotFoundException        If the supplied username
-        *                                                                                              does not exist
         */
        public final static function createUserDatabaseWrapper () {
                // Get a new instance
         */
        public final static function createUserDatabaseWrapper () {
                // Get a new instance
index 1b9dc3a36e17b174078c994372d377e6f074d5ba..f87b31ae1c49d3b63e87539d187c7310e9e82321 100644 (file)
@@ -152,14 +152,6 @@ try {
        die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
                $e->getMessage()
        ));
        die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
                $e->getMessage()
        ));
-} catch (GetterNotFoundException $e) {
-       die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
-               $e->getMessage()
-       ));
-} catch (NoArrayCreatedException $e) {
-       die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
-               $e->getMessage()
-       ));
 } catch (InvalidArrayCountException $e) {
        die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
                $e->getMessage()
 } catch (InvalidArrayCountException $e) {
        die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
                $e->getMessage()
index 3a674207f6bf52871d5b49b1487d1c4002ebc3cb..622c2c79819676d9b9a0b1362d99e73dcd4f996a 100644 (file)
@@ -152,14 +152,6 @@ try {
        die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
                $e->getMessage()
        ));
        die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
                $e->getMessage()
        ));
-} catch (GetterNotFoundException $e) {
-       die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
-               $e->getMessage()
-       ));
-} catch (NoArrayCreatedException $e) {
-       die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
-               $e->getMessage()
-       ));
 } catch (InvalidArrayCountException $e) {
        die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
                $e->getMessage()
 } catch (InvalidArrayCountException $e) {
        die(sprintf("[Main:] Object not saved for following reason: <span class=\"exception_reason\">%s</span><br />\n",
                $e->getMessage()