]> git.mxchange.org Git - lfdb2.git/blobdiff - application/lfdb2/exceptions.php
Continued:
[lfdb2.git] / application / lfdb2 / exceptions.php
index 8e18482f80ec9e0baba1310174b371a5555ecd6a..24975ff32b37ce4d6c06044aced0ad1ccf0be6ab 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * An include file for setting up the exception handler of the hub
+ * An include file for setting up the exception handler of the lfdb2
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
@@ -22,7 +22,7 @@
  */
 
 // The node's own exception handler
-function hub_exception_handler ($exceptionInstance) {
+function lfdb2_exception_handler ($exceptionInstance) {
        // Is it an object and a valid instance?
        if ((is_object($exceptionInstance)) && ($exceptionInstance instanceof FrameworkException)) {
                // Init variable
@@ -127,7 +127,7 @@ function __assertHandler ($file, $line, $code) {
 //set_error_handler('__errorHandler');
 
 // Set the new handler
-set_exception_handler('hub_exception_handler');
+set_exception_handler('lfdb2_exception_handler');
 
 // Init assert handling
 assert_options(ASSERT_ACTIVE    , TRUE);
@@ -135,6 +135,3 @@ assert_options(ASSERT_WARNING   , FALSE);
 assert_options(ASSERT_BAIL      , TRUE);
 assert_options(ASSERT_QUIET_EVAL, FALSE);
 assert_options(ASSERT_CALLBACK  , '__assertHandler');
-
-// [EOF]
-?>