application/mxchange/templates/.htaccess -text
/clear-cache.sh -text
db/.htaccess -text
-devel/.htaccess -text
-devel/class_Debug.php -text
docs/COPYING -text
docs/COPYING.documents -text
docs/COPYING.software -text
docs/NEWS -text
docs/README -text
docs/THANKS -text
-inc/.htaccess -text
-inc/classes.php -text
-inc/classes/.htaccess -text
-inc/classes/exceptions/.htaccess -text
-inc/classes/exceptions/actions/.htaccess -text
-inc/classes/exceptions/actions/class_InvalidActionException.php -text
-inc/classes/exceptions/auth/.htaccess -text
-inc/classes/exceptions/auth/class_UserAuthorizationException.php -text
-inc/classes/exceptions/class_ -text
-inc/classes/exceptions/class_FrameworkException.php -text
-inc/classes/exceptions/compressor/.htaccess -text
-inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php -text
-inc/classes/exceptions/container/.htaccess -text
-inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php -text
-inc/classes/exceptions/container/class_ContainerItemIsNullException.php -text
-inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php -text
-inc/classes/exceptions/controller/.htaccess -text
-inc/classes/exceptions/controller/class_DefaultControllerException.php -text
-inc/classes/exceptions/controller/class_InvalidControllerException.php -text
-inc/classes/exceptions/criteria/.htaccess -text
-inc/classes/exceptions/crypto/.htaccess -text
-inc/classes/exceptions/crypto/class_EncryptInvalidLengthException.php -text
-inc/classes/exceptions/crypto/class_EncryptMissingException.php -text
-inc/classes/exceptions/database/.htaccess -text
-inc/classes/exceptions/database/class_ -text
-inc/classes/exceptions/database/class_DatabaseException.php -text
-inc/classes/exceptions/database/general/.htaccess -text
-inc/classes/exceptions/database/general/class_DatabaseUpdateSupportException.php -text
-inc/classes/exceptions/database/general/class_SqlException.php -text
-inc/classes/exceptions/database/local_file/.htaccess -text
-inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php -text
-inc/classes/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php -text
-inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php -text
-inc/classes/exceptions/database/local_file/class_SavePathWriteProtectedException.php -text
-inc/classes/exceptions/database/wrapper/.htaccess -text
-inc/classes/exceptions/database/wrapper/class_WrapperUserNameNotFoundException.php -text
-inc/classes/exceptions/filter/.htaccess -text
-inc/classes/exceptions/filter/class_FilterChainException.php -text
-inc/classes/exceptions/helper/.htaccess -text
-inc/classes/exceptions/helper/class_FormClosedException.php -text
-inc/classes/exceptions/helper/class_FormGroupClosedException.php -text
-inc/classes/exceptions/helper/class_FormOpenedException.php -text
-inc/classes/exceptions/helper/class_HelperGroupAlreadyCreatedException.php -text
-inc/classes/exceptions/helper/class_HelperNoPreviousOpenedSubGroupException.php -text
-inc/classes/exceptions/helper/class_HelperSubGroupAlreadyCreatedException.php -text
-inc/classes/exceptions/helper/class_InvalidFormNameException.php -text
-inc/classes/exceptions/helper/class_NoGroupOpenedException.php -text
-inc/classes/exceptions/helper/class_UserInstanceMissingException.php -text
-inc/classes/exceptions/io/.htaccess -text
-inc/classes/exceptions/io/class_DirPointerNotOpenedException.php -text
-inc/classes/exceptions/io/class_FileNotFoundException.php -text
-inc/classes/exceptions/io/class_FilePointerNotOpenedException.php -text
-inc/classes/exceptions/io/class_FileReadProtectedException.php -text
-inc/classes/exceptions/io/class_InvalidDataLengthException.php -text
-inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php -text
-inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php -text
-inc/classes/exceptions/io/class_PathIsEmptyException.php -text
-inc/classes/exceptions/io/class_PathIsNoDirectoryException.php -text
-inc/classes/exceptions/io/class_PathReadProtectedException.php -text
-inc/classes/exceptions/language/.htaccess -text
-inc/classes/exceptions/language/class_InvalidLanguagePathStringException.php -text
-inc/classes/exceptions/language/class_LanguagePathIsEmptyException.php -text
-inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php -text
-inc/classes/exceptions/language/class_LanguagePathReadProtectedException.php -text
-inc/classes/exceptions/language/class_MissingFileIoHandlerException.php -text
-inc/classes/exceptions/language/class_MissingLanguageHandlerException.php -text
-inc/classes/exceptions/main/.htaccess -text
-inc/classes/exceptions/main/class_AssertionException.php -text
-inc/classes/exceptions/main/class_ClassMismatchException.php -text
-inc/classes/exceptions/main/class_ClassNotFoundException.php -text
-inc/classes/exceptions/main/class_ConfigEntryIsEmptyException.php -text
-inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php -text
-inc/classes/exceptions/main/class_DimNotFoundInArrayException.php -text
-inc/classes/exceptions/main/class_EmptyVariableException.php -text
-inc/classes/exceptions/main/class_ExceptionNotChangedException.php -text
-inc/classes/exceptions/main/class_ExceptionNotFoundException.php -text
-inc/classes/exceptions/main/class_FatalErrorException.php -text
-inc/classes/exceptions/main/class_GetterNotFoundException.php -text
-inc/classes/exceptions/main/class_InvalidArrayCountException.php -text
-inc/classes/exceptions/main/class_InvalidCommandException.php -text
-inc/classes/exceptions/main/class_InvalidCommandInstanceException.php -text
-inc/classes/exceptions/main/class_InvalidControllerException.php -text
-inc/classes/exceptions/main/class_InvalidInterfaceException.php -text
-inc/classes/exceptions/main/class_InvalidObjectException.php -text
-inc/classes/exceptions/main/class_MissingArrayElementsException.php -text
-inc/classes/exceptions/main/class_MissingDecimalsThousandsSeperatorException.php -text
-inc/classes/exceptions/main/class_MissingMethodException.php -text
-inc/classes/exceptions/main/class_NoArrayCreatedException.php -text
-inc/classes/exceptions/main/class_NoArrayException.php -text
-inc/classes/exceptions/main/class_NoObjectException.php -text
-inc/classes/exceptions/main/class_NullPointerException.php -text
-inc/classes/exceptions/main/class_ResponseHeadersAlreadySentException.php -text
-inc/classes/exceptions/main/class_VariableIsNotSetException.php -text
-inc/classes/exceptions/result/.htaccess -text
-inc/classes/exceptions/result/class_InvalidDatabaseResultException.php -text
-inc/classes/exceptions/result/class_ResultUpdateException.php -text
-inc/classes/exceptions/template/.htaccess -text
-inc/classes/exceptions/template/class_BasePathIsEmptyException.php -text
-inc/classes/exceptions/template/class_BasePathIsNoDirectoryException.php -text
-inc/classes/exceptions/template/class_BasePathReadProtectedException.php -text
-inc/classes/exceptions/template/class_InvalidBasePathStringException.php -text
-inc/classes/exceptions/template/class_InvalidTemplateVariableNameException.php -text
-inc/classes/exceptions/template/class_UnexpectedTemplateTypeException.php -text
-inc/classes/exceptions/template/class_UnsupportedTemplateEngineException.php -text
-inc/classes/exceptions/template/class_ViewHelperNotFoundException.php -text
-inc/classes/exceptions/user/.htaccess -text
-inc/classes/exceptions/user/class_AccountPasswordMismatchException.php -text
-inc/classes/exceptions/user/class_UserEmailMissingException.php -text
-inc/classes/exceptions/user/class_UserPasswordMismatchException.php -text
-inc/classes/exceptions/user/class_UsernameMissingException.php -text
-inc/classes/exceptions/xml/.htaccess -text
-inc/classes/exceptions/xml/class_InvalidXmlNodeException.php -text
-inc/classes/exceptions/xml/class_XmlNodeMismatchException.php -text
-inc/classes/exceptions/xml/class_XmlParserException.php -text
-inc/classes/interfaces/.htaccess -text
-inc/classes/interfaces/actions/.htaccess -text
-inc/classes/interfaces/actions/class_PerformableAction.php -text
-inc/classes/interfaces/actions/commands/.htaccess -text
-inc/classes/interfaces/actions/commands/class_Commandable.php -text
-inc/classes/interfaces/application/.htaccess -text
-inc/classes/interfaces/application/class_ManageableApplication.php -text
-inc/classes/interfaces/auth/.htaccess -text
-inc/classes/interfaces/auth/class_Authorizeable.php -text
-inc/classes/interfaces/cache/.htaccess -text
-inc/classes/interfaces/cache/class_Cacheable.php -text
-inc/classes/interfaces/captcha/.htaccess -text
-inc/classes/interfaces/captcha/class_SolveableCaptcha.php -text
-inc/classes/interfaces/class_ -text
-inc/classes/interfaces/class_FrameworkInterface.php -text
-inc/classes/interfaces/commands/.htaccess -text
-inc/classes/interfaces/commands/class_Commandable.php -text
-inc/classes/interfaces/compressor/.htaccess -text
-inc/classes/interfaces/compressor/class_Compressor.php -text
-inc/classes/interfaces/controller/.htaccess -text
-inc/classes/interfaces/controller/class_Controller.php -text
-inc/classes/interfaces/criteria/.htaccess -text
-inc/classes/interfaces/criteria/class_Criteria.php -text
-inc/classes/interfaces/criteria/extended/.htaccess -text
-inc/classes/interfaces/criteria/extended/class_LocalSearchCriteria.php -text
-inc/classes/interfaces/criteria/extended/class_LocalUpdateCriteria.php -text
-inc/classes/interfaces/criteria/extended/class_StoreableCriteria.php -text
-inc/classes/interfaces/crypto/.htaccess -text
-inc/classes/interfaces/crypto/class_Cryptable.php -text
-inc/classes/interfaces/database/.htaccess -text
-inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php -text
-inc/classes/interfaces/database/class_Updateable.php -text
-inc/classes/interfaces/database/frontend/.htaccess -text
-inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php -text
-inc/classes/interfaces/database/middleware/.htaccess -text
-inc/classes/interfaces/database/middleware/class_DatabaseConnector.php -text
-inc/classes/interfaces/debug/.htaccess -text
-inc/classes/interfaces/debug/class_Debugger.php -text
-inc/classes/interfaces/discovery/.htaccess -text
-inc/classes/interfaces/discovery/class_Discoverable.php -text
-inc/classes/interfaces/extended/.htaccess -text
-inc/classes/interfaces/extended/class_LimitableObject.php -text
-inc/classes/interfaces/filter/.htaccess -text
-inc/classes/interfaces/filter/class_Filterable.php -text
-inc/classes/interfaces/helper/.htaccess -text
-inc/classes/interfaces/helper/class_HelpableLogin.php -text
-inc/classes/interfaces/helper/class_HelpableTemplate.php -text
-inc/classes/interfaces/io/.htaccess -text
-inc/classes/interfaces/io/class_Streamable.php -text
-inc/classes/interfaces/io/file/.htaccess -text
-inc/classes/interfaces/io/file/class_FileInputStreamer.php -text
-inc/classes/interfaces/io/file/class_FileOutputStreamer.php -text
-inc/classes/interfaces/io/output/.htaccess -text
-inc/classes/interfaces/io/output/class_OutputStreamer.php -text
-inc/classes/interfaces/language/.htaccess -text
-inc/classes/interfaces/language/class_ManageableLanguage.php -text
-inc/classes/interfaces/login/.htaccess -text
-inc/classes/interfaces/login/class_LoginableUser.php -text
-inc/classes/interfaces/mailer/.htaccess -text
-inc/classes/interfaces/mailer/class_DeliverableMail.php -text
-inc/classes/interfaces/reader/.htaccess -text
-inc/classes/interfaces/reader/class_ReadableNews.php -text
-inc/classes/interfaces/registration/.htaccess -text
-inc/classes/interfaces/registration/class_UserRegister.php -text
-inc/classes/interfaces/registry/.htaccess -text
-inc/classes/interfaces/registry/class_Register.php -text
-inc/classes/interfaces/registry/class_Registerable.php -text
-inc/classes/interfaces/request/.htaccess -text
-inc/classes/interfaces/request/class_Requestable.php -text
-inc/classes/interfaces/resolver/.htaccess -text
-inc/classes/interfaces/resolver/actions/.htaccess -text
-inc/classes/interfaces/resolver/actions/class_ActionResolver.php -text
-inc/classes/interfaces/resolver/class_CommandResolver.php -text
-inc/classes/interfaces/resolver/class_ControllerResolver.php -text
-inc/classes/interfaces/resolver/class_Resolver.php -text
-inc/classes/interfaces/resolver/commands/.htaccess -text
-inc/classes/interfaces/resolver/commands/class_CommandResolver.php -text
-inc/classes/interfaces/resolver/controller/.htaccess -text
-inc/classes/interfaces/resolver/controller/class_ControllerResolver.php -text
-inc/classes/interfaces/response/.htaccess -text
-inc/classes/interfaces/response/class_Responseable.php -text
-inc/classes/interfaces/result/.htaccess -text
-inc/classes/interfaces/result/class_SearchableResult.php -text
-inc/classes/interfaces/result/class_UpdateableResult.php -text
-inc/classes/interfaces/template/.htaccess -text
-inc/classes/interfaces/template/class_CompileableTemplate.php -text
-inc/classes/interfaces/template/view/class_ViewHelper.php -text
-inc/classes/interfaces/user/.htaccess -text
-inc/classes/interfaces/user/class_ManageableAccount.php -text
-inc/classes/interfaces/user/class_ManageableUser.php -text
-inc/classes/interfaces/user/extended/.htaccess -text
-inc/classes/interfaces/user/extended/class_ManageableGuest.php -text
-inc/classes/interfaces/user/extended/class_ManageableMember.php -text
-inc/classes/main/.htaccess -text
-inc/classes/main/actions/.htaccess -text
-inc/classes/main/actions/class_ -text
-inc/classes/main/actions/class_BaseAction.php -text
-inc/classes/main/actions/post_registration/.htaccess -text
-inc/classes/main/actions/post_registration/class_LoginAfterRegistrationAction.php -text
-inc/classes/main/actions/web/.htaccess -text
-inc/classes/main/actions/web/class_WebLoginLogoutAction.php -text
-inc/classes/main/actions/web/class_WebLoginProfileAction.php -text
-inc/classes/main/application/.htaccess -text
-inc/classes/main/application/class_BaseApplication.php -text
-inc/classes/main/auth/.htaccess -text
-inc/classes/main/auth/class_CookieAuth.php -text
-inc/classes/main/cache/.htaccess -text
-inc/classes/main/cache/class_MemoryCache.php -text
-inc/classes/main/class_ -text
-inc/classes/main/class_Base -text
-inc/classes/main/class_BaseFrameworkSystem.php -text
-inc/classes/main/class_FrameworkArrayObject.php -text
-inc/classes/main/commands/.htaccess -text
-inc/classes/main/commands/class_ -text
-inc/classes/main/commands/class_BaseCommand.php -text
-inc/classes/main/commands/image/.htaccess -text
-inc/classes/main/commands/image/class_ImageCodeCaptchaCommand.php -text
-inc/classes/main/commands/web/.htaccess -text
-inc/classes/main/commands/web/class_ -text
-inc/classes/main/commands/web/class_WebConfirmCommand.php -text
-inc/classes/main/commands/web/class_WebDoFormCommand.php -text
-inc/classes/main/commands/web/class_WebHomeCommand.php -text
-inc/classes/main/commands/web/class_WebLoginAreaCommand.php -text
-inc/classes/main/commands/web/class_WebLoginCommand.php -text
-inc/classes/main/commands/web/class_WebLoginFailedCommand.php -text
-inc/classes/main/commands/web/class_WebLogoutCommand.php -text
-inc/classes/main/commands/web/class_WebLogoutDoneCommand.php -text
-inc/classes/main/commands/web/class_WebRegisterCommand.php -text
-inc/classes/main/commands/web/class_WebResendLinkCommand.php -text
-inc/classes/main/compressor/.htaccess -text
-inc/classes/main/compressor/class_Bzip2Compressor.php -text
-inc/classes/main/compressor/class_GzipCompressor.php -text
-inc/classes/main/compressor/class_NullCompressor.php -text
-inc/classes/main/console/.htaccess -text
-inc/classes/main/console/class_ConsoleTools.php -text
-inc/classes/main/controller/.htaccess -text
-inc/classes/main/controller/captcha/.htaccess -text
-inc/classes/main/controller/captcha/class_ImageCodeCaptchaController.php -text
-inc/classes/main/controller/class_ -text
-inc/classes/main/controller/class_BaseController.php -text
-inc/classes/main/controller/default/.htaccess -text
-inc/classes/main/controller/default/class_WebDefaultController.php -text
-inc/classes/main/controller/default/class_WebDefaultNewsController.php -text
-inc/classes/main/controller/form/.htaccess -text
-inc/classes/main/controller/form/class_WebDoFormController.php -text
-inc/classes/main/controller/image/.htaccess -text
-inc/classes/main/controller/image/class_ImageDefaultController.php -text
-inc/classes/main/controller/login/.htaccess -text
-inc/classes/main/controller/login/class_WebLoginAreaController.php -text
-inc/classes/main/controller/web/.htaccess -text
-inc/classes/main/controller/web/class_ -text
-inc/classes/main/controller/web/class_WebConfirmController.php -text
-inc/classes/main/controller/web/class_WebDefaultController.php -text
-inc/classes/main/controller/web/class_WebDefaultNewsController.php -text
-inc/classes/main/controller/web/class_WebLoginController.php -text
-inc/classes/main/controller/web/class_WebLoginFailedController.php -text
-inc/classes/main/controller/web/class_WebLogoutController.php -text
-inc/classes/main/controller/web/class_WebLogoutDoneController.php -text
-inc/classes/main/controller/web/class_WebRegisterController.php -text
-inc/classes/main/controller/web/class_WebStatusController.php -text
-inc/classes/main/criteria/.htaccess -text
-inc/classes/main/criteria/class_DataSetCriteria.php -text
-inc/classes/main/criteria/class_SearchCriteria.php -text
-inc/classes/main/criteria/class_UpdateCriteria.php -text
-inc/classes/main/crypto/.htaccess -text
-inc/classes/main/crypto/class_CryptoHelper.php -text
-inc/classes/main/database/.htaccess -text
-inc/classes/main/database/class_ -text
-inc/classes/main/database/class_BaseDatabaseFrontend.php -text
-inc/classes/main/database/class_BaseDatabaseWrapper.php -text
-inc/classes/main/database/databases/.htaccess -text
-inc/classes/main/database/databases/class_LocalFileDatabase.php -text
-inc/classes/main/database/wrapper/.htaccess -text
-inc/classes/main/database/wrapper/class_NewsDatabaseWrapper.php -text
-inc/classes/main/database/wrapper/class_PaymentsDatabaseWrapper.php -text
-inc/classes/main/database/wrapper/class_UserDatabaseWrapper.php -text
-inc/classes/main/database/wrapper/class_UserPointsDatabaseWrapper.php -text
-inc/classes/main/debug/.htaccess -text
-inc/classes/main/debug/class_DebugConsoleOutput.php -text
-inc/classes/main/debug/class_DebugErrorLogOutput.php -text
-inc/classes/main/debug/class_DebugWebOutput.php -text
-inc/classes/main/discovery/.htaccess -text
-inc/classes/main/discovery/class_ -text
-inc/classes/main/discovery/class_BaseDiscovery.php -text
-inc/classes/main/discovery/payment/.htaccess -text
-inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php -text
-inc/classes/main/extended/.htaccess -text
-inc/classes/main/extended/class_ObjectLimits.php -text
-inc/classes/main/extended/class_SerializationContainer.php -text
-inc/classes/main/factories/.htaccess -text
-inc/classes/main/factories/cache/.htaccess -text
-inc/classes/main/factories/cache/class_CacheFactory.php -text
-inc/classes/main/factories/class_BaseFactory.php -text
-inc/classes/main/factories/objects/.htaccess -text
-inc/classes/main/factories/objects/class_ObjectFactory.php -text
-inc/classes/main/factories/web/.htaccess -text
-inc/classes/main/factories/web/class_WebNewsFactory.php -text
-inc/classes/main/filter/.htaccess -text
-inc/classes/main/filter/auth/.htaccess -text
-inc/classes/main/filter/auth/class_UserAuthFilter.php -text
-inc/classes/main/filter/change/.htaccess -text
-inc/classes/main/filter/change/class_EmailChangeFilter.php -text
-inc/classes/main/filter/change/class_PasswordChangeFilter.php -text
-inc/classes/main/filter/checkboxes/.htaccess -text
-inc/classes/main/filter/checkboxes/class_RulesAcceptedFilter.php -text
-inc/classes/main/filter/class_ -text
-inc/classes/main/filter/class_AbstractFilterDecorator.php -text
-inc/classes/main/filter/class_BaseFilter.php -text
-inc/classes/main/filter/class_FilterChain.php -text
-inc/classes/main/filter/crypto/.htaccess -text
-inc/classes/main/filter/crypto/class_CaptchaEncryptFilter.php -text
-inc/classes/main/filter/decorator/.htaccess -text
-inc/classes/main/filter/guest/.htaccess -text
-inc/classes/main/filter/guest/class_UserNameIsGuestFilter.php -text
-inc/classes/main/filter/news/.htaccess -text
-inc/classes/main/filter/news/class_NewsDownloadFilter.php -text
-inc/classes/main/filter/news/class_NewsProcessFilter.php -text
-inc/classes/main/filter/null/.htaccess -text
-inc/classes/main/filter/null/class_NullFilter.php -text
-inc/classes/main/filter/payment/.htaccess -text
-inc/classes/main/filter/payment/class_PaymentDiscoveryFilter.php -text
-inc/classes/main/filter/update/.htaccess -text
-inc/classes/main/filter/update/class_UserStatusConfimedUpdateFilter.php -text
-inc/classes/main/filter/update/class_UserUpdateFilter.php -text
-inc/classes/main/filter/validator/.htaccess -text
-inc/classes/main/filter/validator/class_EmailValidatorFilter.php -text
-inc/classes/main/filter/validator/class_PasswordValidatorFilter.php -text
-inc/classes/main/filter/validator/class_UserNameValidatorFilter.php -text
-inc/classes/main/filter/verifier/.htaccess -text
-inc/classes/main/filter/verifier/class_AccountPasswordVerifierFilter.php -text
-inc/classes/main/filter/verifier/class_ConfirmCodeVerifierFilter.php -text
-inc/classes/main/filter/verifier/class_GraphicalCodeCaptchaVerifierFilter.php -text
-inc/classes/main/filter/verifier/class_PasswordGuestVerifierFilter.php -text
-inc/classes/main/filter/verifier/class_PasswordVerifierFilter.php -text
-inc/classes/main/filter/verifier/class_UserGuestVerifierFilter.php -text
-inc/classes/main/filter/verifier/class_UserNameVerifierFilter.php -text
-inc/classes/main/filter/verifier/class_UserStatusVerifierFilter.php -text
-inc/classes/main/filter/verifier/class_UserUnconfirmedVerifierFilter.php -text
-inc/classes/main/helper/.htaccess -text
-inc/classes/main/helper/captcha/.htaccess -text
-inc/classes/main/helper/captcha/class_ -text
-inc/classes/main/helper/captcha/class_BaseCaptcha.php -text
-inc/classes/main/helper/captcha/images/.htaccess -text
-inc/classes/main/helper/captcha/images/class_ImageHelper.php -text
-inc/classes/main/helper/captcha/web/.htaccess -text
-inc/classes/main/helper/captcha/web/class_GraphicalCodeCaptcha.php -text
-inc/classes/main/helper/class_ -text
-inc/classes/main/helper/class_BaseHelper.php -text
-inc/classes/main/helper/login/.htaccess -text
-inc/classes/main/helper/login/class_BaseLoginHelper.php -text
-inc/classes/main/helper/web/.htaccess -text
-inc/classes/main/helper/web/blocks/.htaccess -text
-inc/classes/main/helper/web/blocks/class_WebBlockHelper.php -text
-inc/classes/main/helper/web/class_ -text
-inc/classes/main/helper/web/class_BaseWebHelper.php -text
-inc/classes/main/helper/web/class_WebFormHelper.php -text
-inc/classes/main/helper/web/forms/.htaccess -text
-inc/classes/main/helper/web/forms/class_WebFormHelper.php -text
-inc/classes/main/helper/web/links/.htaccess -text
-inc/classes/main/helper/web/links/class_WebLinkHelper.php -text
-inc/classes/main/images/.htaccess -text
-inc/classes/main/images/class_ -text
-inc/classes/main/images/class_BaseImage.php -text
-inc/classes/main/images/extended/.htaccess -text
-inc/classes/main/images/extended/class_PngImage.php -text
-inc/classes/main/io/.htaccess -text
-inc/classes/main/io/class_FileIoStream.php -text
-inc/classes/main/io/class_FrameworkDirectoryPointer.php -text
-inc/classes/main/io/class_FrameworkFileInputPointer.php -text
-inc/classes/main/io/class_FrameworkFileOutputPointer.php -text
-inc/classes/main/language/.htaccess -text
-inc/classes/main/language/class_LanguageSystem.php -text
-inc/classes/main/mailer/.htaccess -text
-inc/classes/main/mailer/class_ -text
-inc/classes/main/mailer/class_BaseMailer.php -text
-inc/classes/main/mailer/debug/.htaccess -text
-inc/classes/main/mailer/debug/class_DebugMailer.php -text
-inc/classes/main/output/.htaccess -text
-inc/classes/main/output/class_ConsoleOutput.php -text
-inc/classes/main/output/class_WebOutput.php -text
-inc/classes/main/points/.htaccess -text
-inc/classes/main/points/class_UserPoints.php -text
-inc/classes/main/reader/.htaccess -text
-inc/classes/main/reader/class_DefaultNewsReader.php -text
-inc/classes/main/registration/.htaccess -text
-inc/classes/main/registration/class_BaseRegistration.php -text
-inc/classes/main/registry/.htaccess -text
-inc/classes/main/registry/class_Registry.php -text
-inc/classes/main/request/.htaccess -text
-inc/classes/main/request/class_HttpRequest.php -text
-inc/classes/main/resolver/.htaccess -text
-inc/classes/main/resolver/action/.htaccess -text
-inc/classes/main/resolver/action/class_BaseActionResolver.php -text
-inc/classes/main/resolver/action/web/.htaccess -text
-inc/classes/main/resolver/action/web/class_WebActionResolver.php -text
-inc/classes/main/resolver/class_BaseResolver.php -text
-inc/classes/main/resolver/command/.htaccess -text
-inc/classes/main/resolver/command/class_BaseCommandResolver.php -text
-inc/classes/main/resolver/command/image/.htaccess -text
-inc/classes/main/resolver/command/image/class_ImageCommandResolver.php -text
-inc/classes/main/resolver/command/web/.htaccess -text
-inc/classes/main/resolver/command/web/class_ -text
-inc/classes/main/resolver/command/web/class_WebCommandResolver.php -text
-inc/classes/main/resolver/controller/.htaccess -text
-inc/classes/main/resolver/controller/class_BaseControllerResolver.php -text
-inc/classes/main/resolver/controller/image/.htaccess -text
-inc/classes/main/resolver/controller/image/class_ImageControllerResolver.php -text
-inc/classes/main/resolver/controller/web/.htaccess -text
-inc/classes/main/resolver/controller/web/class_WebControllerResolver.php -text
-inc/classes/main/resolver/web/.htaccess -text
-inc/classes/main/resolver/web/class_WebCommandResolver.php -text
-inc/classes/main/resolver/web/class_WebControllerResolver.php -text
-inc/classes/main/response/.htaccess -text
-inc/classes/main/response/class_BaseResponse.php -text
-inc/classes/main/response/http/.htaccess -text
-inc/classes/main/response/http/class_HttpResponse.php -text
-inc/classes/main/response/image/.htaccess -text
-inc/classes/main/response/image/class_ImageResponse.php -text
-inc/classes/main/result/.htaccess -text
-inc/classes/main/result/class_DatabaseResult.php -text
-inc/classes/main/rng/.htaccess -text
-inc/classes/main/rng/class_RandomNumberGenerator.php -text
-inc/classes/main/template/.htaccess -text
-inc/classes/main/template/class_BaseTemplateEngine.php -text
-inc/classes/main/template/image/.htaccess -text
-inc/classes/main/template/image/class_ImageTemplateEngine.php -text
-inc/classes/main/template/mail/.htaccess -text
-inc/classes/main/template/mail/class_MailTemplateEngine.php -text
-inc/classes/main/template/web/.htaccess -text
-inc/classes/main/template/web/class_WebTemplateEngine.php -text
-inc/classes/main/user/.htaccess -text
-inc/classes/main/user/class_BaseUser.php -text
-inc/classes/main/user/class_User.php -text
-inc/classes/main/user/guest/.htaccess -text
-inc/classes/main/user/guest/class_Guest.php -text
-inc/classes/main/user/member/.htaccess -text
-inc/classes/main/user/member/class_Member.php -text
-inc/classes/middleware/.htaccess -text
-inc/classes/middleware/class_BaseMiddleware.php -text
-inc/classes/middleware/compressor/.htaccess -text
-inc/classes/middleware/compressor/class_CompressorChannel.php -text
-inc/classes/middleware/database/.htaccess -text
-inc/classes/middleware/database/class_DatabaseConnection.php -text
-inc/classes/middleware/debug/.htaccess -text
-inc/classes/middleware/debug/class_DebugMiddleware.php -text
-inc/classes/middleware/io/.htaccess -text
-inc/classes/middleware/io/class_FileIoHandler.php -text
-inc/classes/third_party/.htaccess -text
-inc/classes/third_party/akismet/.htaccess -text
-inc/classes/third_party/akismet/akismet.class.php -text
-inc/classes/third_party/api/.htaccess -text
-inc/classes/third_party/api/primusportal/.htaccess -text
-inc/classes/third_party/api/primusportal/class_PrimeraApi.php -text
-inc/classes/third_party/api/wernisportal/.htaccess -text
-inc/classes/third_party/api/wernisportal/class_WernisApi.php -text
-inc/classes/third_party/php_mailer/.htaccess -text
-inc/classes/third_party/php_mailer/ChangeLog.txt -text
-inc/classes/third_party/php_mailer/LICENSE -text
-inc/classes/third_party/php_mailer/README -text
-inc/classes/third_party/php_mailer/class.phpmailer.php -text
-inc/classes/third_party/php_mailer/class.pop3.php -text
-inc/classes/third_party/php_mailer/class.smtp.php -text
-inc/classes/third_party/php_mailer/docs/extending.html -text
-inc/classes/third_party/php_mailer/docs/faq.html -text
-inc/classes/third_party/php_mailer/docs/pop3_article.txt -text
-inc/classes/third_party/php_mailer/docs/use_gmail.txt -text
-inc/classes/third_party/php_mailer/examples/contents.html -text
-inc/classes/third_party/php_mailer/examples/images/bkgrnd.gif -text
-inc/classes/third_party/php_mailer/examples/images/phpmailer.gif -text
-inc/classes/third_party/php_mailer/examples/images/phpmailer.png -text
-inc/classes/third_party/php_mailer/examples/images/phpmailer_mini.gif -text
-inc/classes/third_party/php_mailer/examples/index.html -text
-inc/classes/third_party/php_mailer/examples/pop3_before_smtp_test.php -text
-inc/classes/third_party/php_mailer/examples/test_gmail.php -text
-inc/classes/third_party/php_mailer/examples/test_mail.php -text
-inc/classes/third_party/php_mailer/examples/test_sendmail.php -text
-inc/classes/third_party/php_mailer/examples/test_smtp.php -text
-inc/classes/third_party/php_mailer/language/.htaccess -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-br.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-ca.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-cz.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-de.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-dk.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-en.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-es.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-et.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-fi.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-fo.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-fr.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-hu.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-it.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-ja.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-nl.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-no.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-pl.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-ro.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-ru.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-se.php -text
-inc/classes/third_party/php_mailer/language/phpmailer.lang-tr.php -text
-inc/classes/third_party/php_mailer/phpdoc/PHPMailer/PHPMailer.html -text
-inc/classes/third_party/php_mailer/phpdoc/PHPMailer/SMTP.html -text
-inc/classes/third_party/php_mailer/phpdoc/PHPMailer/_class_phpmailer_php.html -text
-inc/classes/third_party/php_mailer/phpdoc/PHPMailer/_class_smtp_php.html -text
-inc/classes/third_party/php_mailer/phpdoc/blank.html -text
-inc/classes/third_party/php_mailer/phpdoc/classtrees_PHPMailer.html -text
-inc/classes/third_party/php_mailer/phpdoc/elementindex.html -text
-inc/classes/third_party/php_mailer/phpdoc/elementindex_PHPMailer.html -text
-inc/classes/third_party/php_mailer/phpdoc/errors.html -text
-inc/classes/third_party/php_mailer/phpdoc/index.html -text
-inc/classes/third_party/php_mailer/phpdoc/li_PHPMailer.html -text
-inc/classes/third_party/php_mailer/phpdoc/media/banner.css -text
-inc/classes/third_party/php_mailer/phpdoc/media/stylesheet.css -text
-inc/classes/third_party/php_mailer/phpdoc/packages.html -text
-inc/classes/third_party/php_mailer/test/phpmailer_test.php -text
-inc/classes/third_party/php_mailer/test/phpunit.php -text
-inc/classes/third_party/php_mailer/test/test.png -text
-inc/config.php -text
-inc/config/.htaccess -text
-inc/config/class_FrameworkConfiguration.php -text
-inc/config/config-hubmaster.php -text
-inc/config/config-override.php -text
-inc/database.php -text
-inc/database/.htaccess -text
-inc/database/lib-local.php -text
-inc/file_io.php -text
-inc/includes.php -text
-inc/language.php -text
-inc/language/.htaccess -text
-inc/loader/.htaccess -text
-inc/loader/class_ClassLoader.php -text
-inc/output.php -text
-inc/selector.php -text
/index.php -text
/package.sh -text
/pdepend.sh -text
/rebuild_doc.sh -text
-templates/.htaccess -text
-templates/_compiled/.htaccess -text
-templates/de/.htaccess -text
-templates/de/code/.htaccess -text
-templates/de/code/emergency_exit.ctp -text
-templates/de/code/footer_msg.ctp -text
-templates/de/code/header.ctp -text
-templates/de/html/.htaccess -text
-tests/ConfigTest.php -text
-tests/RegistryTest.php -text
-tests/RequestTest.php -text
-tests/Test.php -text
-tests/all-tests.sh -text
-tests/unittest.sh -text
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * Dummy debug class
- *
- * @author Roland Haeder <webmaster@mxchange.org>
- * @version 0.3.0
- * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
- * @license GNU GPL 3.0 or any newer version
- * @link http://www.mxchange.org
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class Debug {
- // Constructor
- public function __construct () {
- // Konstruktoren debuggen (nur im Zusammenhang mit den folgenden Schaltern effektiv)
- // VIELE DEBUG-MELDUNGEN!!!
- //define('DEBUG_CONSTRUCT', true);
- // eval()-Befehle debuggen
- //define('DEBUG_EVAL', true);
- // Systeme debuggen
- //define('DEBUG_SYSTEM', true);
- // SimulatorBase debuggen (VORSICHT! SEHR VIELE DEBUG-MELDUNGEN!!!)
- //define('DEBUG_CORE', true);
- //////// Objekte debuggen (ausgeben) ////////
- // Datenbank-Objekt debuggen
- //define('DEBUG_DATABASE_OBJ', true);
- // Reederei-Objekt debuggen
- //define('DEBUG_COMPANY_OBJ', true);
- // Hafen-Objekt debuggen
- //define('DEBUG_HARBOR_OBJ', true);
- // Schiff-Objekt debuggen
- //define('DEBUG_SHIP_OBJ', true);
- // Auftrag-Objekt debuggen
- //define('DEBUG_CONTRACT_OBJ', true);
- // Haendler-Objekt debuggen
- //define('DEBUG_MERCHANT_OBJ', true);
- // Personal-Objekt debuggen
- //define('DEBUG_PERSONELL_OBJ', true);
- //////// Alles unteren debuggen ////////
- //define('DEBUG_ALL', true);
- // Personal debuggen
- //define('DEBUG_PERSONELL', true);
- // Reederei debuggen
- //define('DEBUG_COMPANY', true);
- // Mitarbeiter debuggen
- //define('DEBUG_COMPANY_EMPLOYEE', true);
- // Hafen debuggen
- //define('DEBUG_HARBOR', true);
- // Werft debuggen
- //define('DEBUG_SHIPYARD', true);
- // Schiff debuggen
- //define('DEBUG_SHIP', true);
- // Schiffsteil debuggen
- //define('DEBUG_SHIPPART', true);
- // Schiffstruktur debuggen
- //define('DEBUG_STRUCTURE', true);
- // Antriebe debuggen
- //define('DEBUG_DRIVE', true);
- // Kabinen debuggen
- //define('DEBUG_CABIN', true);
- // Decks debuggen
- //define('DEBUG_DECK', true);
- // Bauauftraege debuggen
- //define('DEBUG_CONTRACT', true);
- // Haendler debuggen
- //define('DEBUG_MERCHANT', true);
- // Kompressor debuggen
- //define('DEBUG_COMPRESSOR', true);
- // Datenbankschichten debuggen
- //define('DEBUG_DATABASE', true);
- // Template-System debuggen
- //define('DEBUG_TEMPLATE', true);
- }
-}
-
-/**
- * Initialize the dummy debug class
- */
-$dummy = new Debug();
-unset($dummy);
-
-//
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * Load required framework classes first
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
- * @license GNU GPL 3.0 or any newer version
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-// Lower framework classes
-$lowerClasses = array(
- 0 => "exceptions", // Exceptions
- 1 => "interfaces", // Interfaces
- 2 => "main", // General main classes
- 3 => "middleware" // The middleware
-);
-
-// Load all classes
-foreach ($lowerClasses as $className) {
- // Try to load the framework classes
- try {
- ClassLoader::getInstance()->loadClasses(sprintf("inc/classes/%s/", $className));
- } catch (PathIsNoDirectoryException $e) {
- ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <span class=\"exception_data\">%s</span> for the follwing reason: <span class=\"exception_reason\">%s</span>",
- $className
- ));
- } catch (PathIsEmptyException $e) {
- ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <span class=\"exception_data\">%s</span> for the follwing reason: <span class=\"exception_reason\">%s</span>",
- $className
- ));
- } catch (PathReadProtectedException $e) {
- ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <span class=\"exception_data\">%s</span> for the follwing reason: <span class=\"exception_reason\">%s</span>",
- $className
- ));
- } catch (DirPointerNotOpenedException $e) {
- ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <span class=\"exception_data\">%s</span> for the follwing reason: <span class=\"exception_reason\">%s</span>",
- $className
- ));
- }
-}
-
-// Clean up the global namespace
-unset($lowerClasses[3]); // Applications shall not have any middleware
-unset($className);
-
-////// Until here the framework classes are loaded //////
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * This exception is thrown when a requested action is invalid
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidActionException extends FrameworkException {
- /**
- * The super constructor for all exceptions
- *
- * @param $msgArray An array with message parts
- * @param $code An optional code for better debugging
- * @return void
- */
- public function __construct(array $msgArray, $code) {
- // Prepare the message
- $message = sprintf("[%s:%d] Cannot resolve action <span class=\"exception_reason\">%s (%s)</span>.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1],
- $msgArray[0]->getClassName()
- );
-
- // Call parent contructor with message
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when authorization of the user has failed
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class UserAuthorizationException extends FrameworkException {
- /**
- * The super constructor for all exceptions
- *
- * @param $filterInstance An instance of the filter throwing this exception
- * @param $code Error code
- * @return void
- */
- public function __construct(Filterable $filterInstance, $code) {
- // Construct the message
- $message = sprintf("[%s:%d] Authorization has failed. Error code <span class=\"exception_reason\">%s</span>",
- $filterInstance->__toString(),
- $this->getLine(),
- $this->getHexCode($code)
- );
-
- // Call parent exception constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- *
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ???Exception extends FrameworkException {
- /**
- * The super constructor for all exceptions
- *
- * @param $message Error message
- * @param $code Error code
- * @return void
- */
- public function __construct($message, $code) {
- // Call parent exception constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * A general abstract exception. You should not throw this even when you
- * remove the "abstract" key-word. Better you make your own exception and
- * attach a dedicated message to it.
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-abstract class FrameworkException extends ReflectionException {
- /**
- * Array for the backtrace
- */
- private $backTrace = array();
-
- /**
- * Extra data
- */
- private $extraData = "";
-
- /**
- * The super constructor for all exceptions
- *
- * @param $message The non-optional message for the exception
- * @param $code An optional code for better debugging
- * @return void
- */
- public function __construct($message, $code = 0) {
- // Extract backtrace
- $this->saveBackTrace();
-
- // Cast all data
- $message = (string) $message;
- $code = (int) $code;
-
- // In emergency exit?
- if (defined('EMERGENCY_EXIT_CALLED')) {
- // Output message
- printf("[%s:] Message: %s, Backtrace: <pre>%s</pre>",
- $this->__toString(),
- $message,
- $this->getPrintableBackTrace()
- );
-
- // End here
- exit();
- } // END - if
- // Make sure everything is assigned properly
- parent::__construct($message, $code);
-
- // Log it away if DEBUG_ALL is set
- if (defined('DEBUG_ALL')) {
- // Log the error
- error_log(sprintf("[%s:] %s (%s)",
- $this->__toString(),
- $message,
- $this->getHexCode()
- ));
- } // END - if
- }
-
- /**
- * Save the current backtrace
- *
- * @return void
- */
- private final function saveBackTrace () {
- // Get full backtrace
- $this->backTrace = debug_backtrace();
-
- // Remove this call
- $dummy = array_shift($this->backTrace);
-
- // resort the array
- ksort($this->backTrace);
- }
-
- /**
- * Get saved backtrace
- *
- * @return $backTrace The full backtrace in an array
- */
- public final function getBackTrace () {
- return $this->backTrace;
- }
-
- /**
- * Getter for printable backtrace
- *
- * @return $backTrace Backtrace for web pages
- */
- public final function getPrintableBackTrace () {
- // Get the backtrace
- $dbgTrace = $this->getBackTrace();
-
- // Taken from de.php.net user comments
- $dbgMsg = "<br />\nDebug backtrace begin:<br />\n";
- foreach ($dbgTrace as $dbgIndex => $dbgInfo) {
- // No info by default
- $info = "NULL";
-
- // Are there arguments?
- if ((isset($dbgInfo['args'])) && (is_array($dbgInfo['args'])) && (isset($dbgInfo['args'][0]))) {
- //* DEBUG: */ echo $dbgIndex.": <pre>".htmlentities(print_r($dbgInfo['args'], true))."</pre>";
- $info = "";
- foreach ($dbgInfo['args'] as $debug) {
- // Add only non-array elements
- if (!is_array($debug)) {
- $info .= $debug.", ";
- } // END - if
- } // END - if
-
- $info = substr($info, 0, -2);
- } // END - if
-
- // Prepare argument infos
- $info = "<em id=\"debug_args_".$dbgIndex."\">{$info}</em>";
-
- // File detection
- $file = "Unknown file";
- if (isset($dbgInfo['file'])) {
- $file = basename($dbgInfo['file']);
- } // END - if
-
- // Line detection
- $line = "Unknown line";
- if (isset($dbgInfo['line'])) {
- $line = "line {$dbgInfo['line']}";
- } // END - if
-
- // The message
- $dbgMsg .= "\t at <em id=\"debug_id_".$dbgIndex."\">".$dbgIndex."</em> <em id=\"debug_file_".$dbgIndex."\">".$file."</em> (<em id=\"debug_line_".$dbgIndex."\">".$line."</em>) -> ".$dbgInfo['function']."(".$info.")<br />\n";
- } // END - if
- $dbgMsg .= "Debug backtrace end<br />\n";
-
- return $dbgMsg;
- }
-
- /**
- * Returns the name of the thrown exception
- *
- * @return $toString The name of the thrown exception
- */
- public function __toString() {
- return get_class($this);
- }
-
- /**
- * Getter for hex-decimal code
- *
- * @param $code Integer code to encode in hex
- * @return $hexCode The exception code in hex-decimal format
- */
- public final function getHexCode ($code = null) {
- // Get the decimal code
- if (is_null($code)) $code = $this->getCode();
-
- // Format it to hex-decimal, 0x as prefix and 3 chars
- $hexCode = sprintf("0x%03s", dechex($code));
-
- // Return it
- return $hexCode;
- }
-
- /**
- * Setter for extra data
- *
- * @param $extraData Extra data to store
- * @return void
- */
- protected final function setExtraData ($extraData) {
- $this->extraData = $extraData;
- }
-
- /**
- * Getter for extra data
- *
- * @return $extraData Extra data to store
- */
- public final function getExtraData () {
- return $this->extraData;
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when compressors are mismatching
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class MismatchingCompressorsException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $array Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $array, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Der Kompressor <span class=\"exception_reason\">%s</span> zu den geladenen Daten aus <span class=\"exception_reason\">%s</span> und der aktuell verwendete Kompressor <span class=\"exception_reason\">%s</span> stimmen nicht überein!",
- $array[0]->__toString(),
- $this->getLine(),
- strtoupper($array[1]),
- sprintf("%s:%s",
- basename(dirname($array[2])),
- basename($array[2])
- ),
- strtoupper($array[3])
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when a container item is not an array
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ContainerItemIsNoArrayException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] A container item is not an array.",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a container item is null
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ContainerItemIsNullException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] A container item is <em>null</em>.",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the container is possibly damaged
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ContainerMaybeDamagedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] A container is possibly damaged.",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * This exception is thrown when the default controller is missing
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class DefaultControllerException extends FrameworkException {
- /**
- * The super constructor for all exceptions
- *
- * @param $resolverInstance An instance of a resolver class
- * @param $code An optional code for better debugging
- * @return void
- */
- public function __construct(ControllerResolver $resolverInstance, $code) {
- // Prepare the message
- $message = sprintf("[%s:%d] Cannot resolv default controller. Maybe missing?",
- $resolverInstance->__toString(),
- $this->getLine()
- );
-
- // Set extra data
- $this->setExtraData($resolverInstance->getClassName().":".$this->getLine());
-
- // Call parent contructor with message
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * This exception is thrown when the default controller is missing
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidControllerException extends FrameworkException {
- /**
- * The super constructor for all exceptions
- *
- * @param $msgArray An array with message parts
- * @param $code An optional code for better debugging
- * @return void
- */
- public function __construct(array $msgArray, $code) {
- // Prepare the message
- $message = sprintf("[%s:%d] Cannot resolve controller <span class=\"exception_reason\">%s (class name: %s)</span>.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1],
- $msgArray[0]->getClassName()
- );
-
- // Set extra data
- $this->setExtraData($msgArray[0]->getClassName().":".$this->getLine());
-
- // Call parent contructor with message
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when the decrypted "encrypt" string has an invalid length
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class EncryptInvalidLengthException extends FrameworkException {
- /**
- * The super constructor for all exceptions
- *
- * @param $message Error message
- * @param $code Error code
- * @return void
- */
- public function __construct(Filterable $filterInstance, $code) {
- // Get length
- $length = $filterInstance->getConfigInstance()->readConfig('captcha_string_length');
-
- // Construct message
- $message = sprintf("[%s:%d] Encrypt string has an invalid length. Valid: %d",
- $filterInstance->__toString(),
- $this->getLine(),
- $length
- );
-
- // Set extra data
- $this->setExtraData($filterInstance->__toString().":".$length);
-
- // Call parent exception constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the "encrypt" string is missing
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class EncryptMissingException extends FrameworkException {
- /**
- * The super constructor for all exceptions
- *
- * @param $message Error message
- * @param $code Error code
- * @return void
- */
- public function __construct(Filterable $filterInstance, $code) {
- // Construct message
- $message = sprintf("[%s:%d] Encrypt string is missing.",
- $filterInstance->__toString(),
- $this->getLine()
- );
-
- // Set extra data
- $this->setExtraData($filterInstance->__toString());
-
- // Call parent exception constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- *
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ???Exception extends DatabaseException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($message, $code) {
- // Just call the parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * A general database exception
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class DatabaseException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($message, $code) {
- // Just call the parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when a class tries an unallowed database update
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class DatabaseUpdateSupportException extends DatabaseException {
- /**
- * The constructor
- *
- * @param $class Class trying the invalid database update
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Generate message
- $message = sprintf("[%s:%d] Database updated not allowed for this class.",
- $class->__toString(),
- $this->getLine()
- );
-
- // Just call the parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * A SQL exception thrown when an SQL error was detected.
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class SqlException extends DatabaseException {
- /**
- * The constructor
- *
- * @param $msgArray Message array
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Construct the message
- $message = sprintf("[%s:%d] SQL error detected. Message from database: <span class=\"exception_reason\">%s</span>, code: <span class=\"exception_reason\">%s</span>.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1],
- $this->getHexCode($msgArray[2])
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when the save path string is empty
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class SavePathIsEmptyException extends DatabaseException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Save path is empty.",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the save path is no directory
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class SavePathIsNoDirectoryException extends DatabaseException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($path, $code) {
- // Add a message around the missing class
- $message = sprintf("Der angegebene Speicherpfad <span class=\"exception_reason\">%s</span> ist ungütig (kein Pfad).", $path);
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the save path is read-protected
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class SavePathReadProtectedException extends DatabaseException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($path, $code) {
- // Add a message around the missing class
- $message = sprintf("Der Pfad <span class=\"exception_reason\">%s</span> ist lese-geschützt. Bitte Zugriffsrechte (CHMOD) zum Lesen setzen.", $path);
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the save path is write-protected
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class SavePathWriteProtectedException extends DatabaseException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($path, $code) {
- // Add a message around the missing class
- $message = sprintf("Der angegebene Speicherpfad <span class=\"exception_reason\">%s</span> ist schreibgeschützt. Bitte Zugriffsrechte (CHMOD) entsprechend setzen.", $path);
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when the database wrapper has not found the username
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class WrapperUserNameNotFoundException extends DatabaseException {
- /**
- * The constructor
- *
- * @param $msgArray Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Username <span class=\"exception_reason\">%s</span> was not found. Requesting class: <span class=\"exception_reason\">%s</span>",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1]->getUserName(),
- $msgArray[1]->__toString()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown in a filter chain to stop processing further filters
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class FilterChainException extends FrameworkException {
- /**
- * The super constructor for all exceptions
- *
- * @param $filterInstance Instance of a filter class
- * @param $code Exception code for better debugging
- * @return void
- */
- public function __construct(Filterable $filterInstance, $code) {
- // Construct the message
- $message = sprintf("[%s:%d] Filter chain interruppted by fatal error in filter.",
- $filterInstance->__toString(),
- $this->getLine()
- );
-
- // Call the parent exception
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when the form is still closed but input field shall be
- * added to it. This should normally not happen, but well, who knows?
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class FormClosedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Class throwing the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Could not add form element <span class=\"exception_reason\">%s</span> because form is closed.",
- $classArray[0]->__toString(),
- $this->getLine(),
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a form group is still closed.
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class FormGroupClosedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Class throwing the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Could not add sub group <span class=\"exception_reason\">%s</span> because no form group has been opened before.",
- $classArray[0]->__toString(),
- $this->getLine(),
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the form is still opened but we e.g. shall flush
- * the content.
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class FormOpenedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $helperInstance Class throwing the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (BaseHelper $helperInstance, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Form is not yet closed. Close it with method <u>%s::addFormTag()</u> and add no parameters.",
- $helperInstance->__toString(),
- $this->getLine(),
- $helperInstance->__toString()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a group was added twice
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class HelperGroupAlreadyCreatedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $msgArray Array containing exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Group %s already opened before.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when no sub group was opened previously
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class HelperNoPreviousOpenedSubGroupException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $msgArray Array containing exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Sub group not opened before. Raw text follows: <span class=\"exception_reason\">%s</span>",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a sub group was added twice
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class HelperSubGroupAlreadyCreatedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $msgArray Array containing exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Sub group %s already opened before.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the form name is invalid (set to false)
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidFormNameException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $helperInstance Class throwing the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (BaseHelper $helperInstance, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Form name not set.",
- $helperInstance->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a group was not opened before
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class NoGroupOpenedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $msgArray Array containing exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Group not opened before. Raw text follows: <span class=\"exception_reason\">%s</span>",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a user instance is invalid
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class UserInstanceMissingException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Array with class instance and registry key
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Registry key <span class=\"exception_reason\">%s</span> does not include a class with implemented interface <u>Manageable(User|Guest)</u>.",
- $classArray[0]->__toString(),
- $this->getLine(),
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when a directory pointer is not opended
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class DirPointerNotOpenedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $path Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($path, $code) {
- // Add a message around the missing class
- $message = sprintf("Für den Pfad <span class=\"exception_reason\">%s</span> konnte kein Pointer initialisiert werden.", $path);
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a file was not found
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class FileNotFoundException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $fqfn Full-qualified file name of (maybe) missing file
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($fqfn, $code) {
- // Add a message around the missing class
- $message = sprintf("The requested file <span class=\"exception_reason\">%s</span> was not found.",
- $fqfn
- );
-
- // Set extra data
- $this->setExtraData(basename($fqfn));
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a file pointer is not opened
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class FilePointerNotOpenedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $fqfn Full-qualified file name of (maybe) missing file
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($fqfn, $code) {
- // Add a message around the missing class
- $message = sprintf("Not able to initialize a pointer for the file <span class=\"exception_reason\">%s</span>. Maybe the file is missing.", $fqfn);
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a file is read-protected
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class FileReadProtectedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $fileName File which cannot be read from
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($fileName, $code) {
- // Add a message around the missing class
- $message = sprintf("File <span class=\"exception_reason\">%s</span> is read-protected. Please set read access rights (CHMOD).", $fileName);
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the length of the data mismatch
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidDataLengthException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $msgArray Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Eine unerwartete Datenlänge von <span class=\"exception_reason\">%s</span> Byte ist aufgetreten. <span class=\"exception_reason\">%s</span> wurden erwartet!",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1],
- $msgArray[2]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the returned directory resource is invalid
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidDirectoryResourceException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Has an invalid directory resource.",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a MD5 checksum does not exception
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidMD5ChecksumException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $msgArray Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Die MD5-Prüfsummen <span class=\"exception_reason\">%s</span> und <span class=\"exception_reason\">%s</span> stimmen nicht überein!",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1],
- $msgArray[2]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the path string is empty
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class PathIsEmptyException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Directory path is empty.",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a given path is not a directory
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class PathIsNoDirectoryException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($path, $code) {
- // Add a message around the missing class
- $message = sprintf("Der angegebene Pfad <span class=\"exception_reason\">%s</span> ist ungütig (kein Pfad).", $path);
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a path is read-protected
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class PathReadProtectedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($path, $code) {
- // Add a message around the missing class
- $message = sprintf("Der Pfad <span class=\"exception_reason\">%s</span> ist lese-geschützt. Bitte Zugriffsrechte (CHMOD) zum Lesen setzen.", $path);
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when the language path string is invalid
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidLanguagePathStringException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Array holding exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] <span class=\"exception_reason\">%s</span> is not a string with path!",
- $classArray[0]->__toString(),
- $this->getLine(),
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the language path string is empty
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class LanguagePathIsEmptyException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Language base path is empty.",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the language path is no directory
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class LanguagePathIsNoDirectoryException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Array holding exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Der Sprach-Basispfad <span class=\"exception_reason\">%s</span> existiert nicht oder ist eine Datei!",
- $classArray[0]->__toString(),
- $this->getLine(),
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the language path is read-protected
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class LanguagePathReadProtectedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Array holding exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Base language path <span class=\"exception_reason\">%s</span> is read-protected. Please change access rights (CHMOD).",
- $classArray[0]->__toString(),
- $this->getLine(),
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the language handler is missing
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class MissingFileIoHandlerException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] File i/o sub-system not initialized!",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the language handler is missing
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class MissingLanguageHandlerException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Language sub-system not initialized!",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-Deny from all
+++ /dev/null
-<?php
-/**
- * An exception thrown when a assertion fails
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class AssertionException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($message, $code) {
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when two classes are not matching
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ClassMismatchException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Array holding the exception informations
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("The class <span class=\"exception_reason\">%s</span> does not match class <span class=\"exception_reason\">%s</span>.",
- $classArray[0],
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a class was not found
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ClassNotFoundException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $msgArray Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Internal class <span class=\"exception_reason\">%s</span> not found.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1]
- );
-
- // Set extra data
- $this->setExtraData($msgArray[1]);
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a configuration entry is empty
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ConfigEntryIsEmptyException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing this exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkConfiguration $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Empty configuration entry provided!",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a configuration entry is not found
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ConfigEntryNotFoundException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Array with exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Configuration entry <span class=\"exception_reason\">%s</span> not found.",
- $classArray[0],
- $this->getLine(),
- $classArray[1]
- );
-
- // Set extra data
- $this->setExtraData($classArray[1].":".$this->getLine());
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thron when dimension entries are not found in an array
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class DimNotFoundInArrayException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- if (is_object($class)) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Dimensions not found in array, array is invalid!",
- $class->__toString(),
- $this->getLine()
- );
- } else {
- // No class given
- $message = sprintf("Please provide a class for <span class=\"exception_reason\">%s</span>", __CLASS__);
- }
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * This exception is thrown when a variable is unexpected empty
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class EmptyVariableException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $msgArray Message array holding all needed data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Variable <span class=\"exception_reason\">%s</span> is not set.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when an exception was not changed
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ExceptionNotChangedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (BaseFrameworkSystem $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Exception(s) wurde(n) nicht geändert.",
- $class,
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when an other exception was not found
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ExceptionNotFoundException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Array with exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Exception <span class=\"exception_reason\">%s</span> not found.",
- $classArray[0],
- $this->getLine(),
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a "fatal" error has been captured by an error handler
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class FatalErrorException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($message, $code) {
- die($message);
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a getter for an attribute was not found
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class GetterNotFoundException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $dataArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Getter-Methode für Attribut <span class=\"exception_reason\">%s</span> nicht gefunden.",
- $dataArray[0]->__toString(),
- $this->getLine(),
- $dataArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the number of array elements mismatch
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidArrayCountException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $array Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $array, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] <span class=\"exception_reason\">%s</span> hat <u>%d</u> Elemente, soll aber <u>%d</u> enthalten!",
- $array[0]->__toString(),
- $this->getLine(),
- $array[1],
- $array[2],
- $array[3]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * This exception is thrown when a command is invalid
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidCommandException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Invalid command <span class=\"exception_reason\">%s (class %s)</span> detected.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1],
- $msgArray[0]->getClassName()
- );
-
- // Set extra data
- $this->setExtraData($msgArray[0]->getClassName().":".$this->getLine());
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * This exception is thrown when a command instance is invalid
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidCommandInstanceException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Invalid command <span class=\"exception_reason\">%s</span> detected.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * This exception is thrown when a controller instance is invalid
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidControllerInstanceException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $msgArray Array with data from the exception point
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $msgArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Invalid controller <span id=\"exception_reason\">%s</span> detected.",
- $msgArray[0]->__toString(),
- $this->getLine(),
- $msgArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when an class instance does not implement a given interface
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidInterfaceException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Array with exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Object does not implement expected interface <span class=\"exception_reason\">%s</span>.",
- $classArray[0]->__toString(),
- $this->getLine(),
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when an instance variable instances a non-object
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class InvalidObjectException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $class Class throwing the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (FrameworkInterface $class, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Object is not allowed here.",
- $class->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when required array elements are missing
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class MissingArrayElementsException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Array with exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Extract all elements
- $elements = "";
- if ((isset($classArray[2])) && (is_array($classArray[2]))) {
- // Convert into strings
- $elements = implode("</u>, <u>", $classArray[2]);
- } else {
- // Invalid data
- $elements = "invalid_data";
- }
-
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Array <u>%s()</u> Does not have these elements: <span class=\"exception_reason\">%s</span>",
- $classArray[0]->__toString(),
- $this->getLine(),
- $classArray[1],
- $elements
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when the decimal and thousands seperators are missing
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class MissingDecimalsThousandsSeperatorException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($instance, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] Die Dezimal- und Tausendertrenner fehlen!",
- $instance->__toString(),
- $this->getLine()
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown when a method is missing
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class MissingMethodException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $classArray Array holding the exception data
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $classArray, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] This class has no method <u>%s()</u>!",
- $classArray[0]->__toString(),
- $this->getLine(),
- $classArray[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * An exception thrown then no array was created in a dynamic environment
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class NoArrayCreatedException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $array Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct (array $array, $code) {
- // Add a message around the missing class
- $message = sprintf("[%s:%d] <span class=\"exception_reason\">%s</span> ist kein erstelltes Objekt.",
- $array[0]->__toString(),
- $this->getLine(),
- $array[1]
- );
-
- // Call parent constructor
- parent::__construct($message, $code);
- }
-}
-
-// [EOF]
-?>
+++ /dev/null
-<?php
-/**
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0.0
- * @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
- *
- * 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
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class NoArrayException extends FrameworkException {
- /**
- * The constructor
- *
- * @param $message Message from the exception
- * @param $code Code number for the exception
- * @return void
- */
- public function __construct ($string, $code) {
- // Add a message around the missing class
- $message = sprintf("<span class=\"exception_reason\">%s</span> ist kein Array!",
- $string
- );
-
- // Call parent constructor
-