class ContractAllreadySignedException extends FrameworkException {
public function __construct (array $classArray, $code) {
*/
class ContractAllreadySignedException extends FrameworkException {
public function __construct (array $classArray, $code) {
- // Cast the array
- $classArray = (array) $classArray;
-
// Add a message around the missing class
$message = sprintf("[%s:] Die Vertragsparteien <span id=\"exception_reason\">%s</span> und <span id=\"exception_reason\">%s</span> haben den Vertrag bereits unterzeichnet!",
$classArray[0]->__toString(),
// Add a message around the missing class
$message = sprintf("[%s:] Die Vertragsparteien <span id=\"exception_reason\">%s</span> und <span id=\"exception_reason\">%s</span> haben den Vertrag bereits unterzeichnet!",
@@ -122,13+122,6 @@ class BaseShip extends BaseSimulator {
$e->getMessage()
));
return false;
$e->getMessage()
));
return false;
- } catch (ExceptionNotFoundException $e) {
- if ((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Eine Exception wurde nicht gefunden. Details: <strong>%s</strong><br />\n",
ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <strong>%s</strong> for the follwing reason: <strong>%s</strong>",
} catch (PathIsNoDirectoryException $e) {
ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <strong>%s</strong> for the follwing reason: <strong>%s</strong>",
- $class
+ $className
));
} catch (PathIsEmptyException $e) {
ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <strong>%s</strong> for the follwing reason: <strong>%s</strong>",
));
} catch (PathIsEmptyException $e) {
ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <strong>%s</strong> for the follwing reason: <strong>%s</strong>",
- $class
+ $className
));
} catch (PathReadProtectedException $e) {
ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <strong>%s</strong> for the follwing reason: <strong>%s</strong>",
));
} catch (PathReadProtectedException $e) {
ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <strong>%s</strong> for the follwing reason: <strong>%s</strong>",
- $class
+ $className
));
} catch (DirPointerNotOpenedException $e) {
ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <strong>%s</strong> for the follwing reason: <strong>%s</strong>",
));
} catch (DirPointerNotOpenedException $e) {
ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <strong>%s</strong> for the follwing reason: <strong>%s</strong>",
- $class
+ $className
));
}
}
// Clean up the global namespace
unset($lowerClasses[3]); // Applications shall not have any middleware
));
}
}
// Clean up the global namespace
unset($lowerClasses[3]); // Applications shall not have any middleware
-unset($class);
+unset($className);
////// Until here the framework classes are loaded //////
////// Until here the framework classes are loaded //////