FrameworkException Class Reference

Inherits ReflectionException.

Inherited by AccountPasswordMismatchException, AssertionException, BasePathIsEmptyException, BasePathIsNoDirectoryException, BasePathReadProtectedException, BirthdayInvalidException, CabinShipMismatchException, ClassMismatchException, ClassNotFoundException, ConfigEntryIsEmptyException, ConfigEntryNotFoundException, ContainerItemIsNoArrayException, ContainerItemIsNullException, ContainerMaybeDamagedException, ContractAllreadySignedException, ContractPartnerMismatchException, DatabaseException, DeckShipMismatchException, DefaultControllerException, DimNotFoundInArrayException, DirPointerNotOpenedException, EmptyStructuresListException, EmptyVariableException, EncryptInvalidLengthException, EncryptMissingException, ExceptionNotFoundException, FatalErrorException, FileNotFoundException, FilePointerNotOpenedException, FileReadProtectedException, FilterChainException, FormClosedException, FormGroupClosedException, FormOpenedException, GetterNotFoundException, HelperGroupAlreadyCreatedException, HelperNoPreviousOpenedSubGroupException, HelperSubGroupAlreadyCreatedException, InvalidActionException, InvalidArrayCountException, InvalidBasePathStringException, InvalidCommandException, InvalidCommandInstanceException, InvalidContractPartnerException, InvalidControllerException, InvalidDatabaseResultException, InvalidDataLengthException, InvalidDirectoryResourceException, InvalidFormNameException, InvalidIDFormatException, InvalidInterfaceException, InvalidLanguagePathStringException, InvalidMD5ChecksumException, InvalidObjectException, InvalidXmlNodeException, ItemNotInPriceListException, ItemNotTradeableException, LanguagePathIsEmptyException, LanguagePathIsNoDirectoryException, LanguagePathReadProtectedException, MismatchingCompressorsException, MissingArrayElementsException, MissingDecimalsThousandsSeperatorException, MissingFileIoHandlerException, MissingLanguageHandlerException, MissingMethodException, MissingSimulatorIdException, MotorShipMismatchException, NoArrayCreatedException, NoArrayException, NoGroupOpenedException, NoObjectException, NoShippingCompanyOwnedException, NoShipyardsConstructedException, NullPointerException, PathIsEmptyException, PathIsNoDirectoryException, PathReadProtectedException, PersonellListAlreadyCreatedException, ResponseHeadersAlreadySentException, ResultUpdateException, RoomShipMismatchException, ShipNotConstructedException, ShipPartNotConstructableException, StructureShipMismatchException, StructuresOutOfBoundsException, ToMuchEmployeesException, TotalPriceNotCalculatedException, UnexpectedTemplateTypeException, UnsupportedLimitationPartException, UnsupportedTemplateEngineException, UserAuthorizationException, UserEmailMissingException, UserInstanceMissingException, UsernameMissingException, UserPasswordMismatchException, VariableIsNotSetException, ViewHelperNotFoundException, WrongGenderSpecifiedException, XmlNodeMismatchException, and XmlParserException.

Collaboration diagram for FrameworkException:

Collaboration graph
[legend]

List of all members.


Detailed Description

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 (c) 2007, 2008 Roland Haeder, this is free software 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/>.

Definition at line 26 of file class_FrameworkException.php.


Public Member Functions

 __construct ($message, $code=0)
 The super constructor for all exceptions.
 __toString ()
 Returns the name of the thrown exception.
 getBackTrace ()
 Get saved backtrace.
 getExtraData ()
 Getter for extra data.
 getHexCode ($code=null)
 Getter for hex-decimal code.
 getPrintableBackTrace ()
 Getter for printable backtrace.

Protected Member Functions

 setExtraData ($extraData)
 Setter for extra data.

Private Member Functions

 saveBackTrace ()
 Save the current backtrace.

Private Attributes

 $backTrace = array()
 Array for the backtrace.
 $extraData = ""
 Extra data.

The documentation for this class was generated from the following file:

Generated on Mon Dec 8 01:12:18 2008 for Ship-Simulator by  doxygen 1.5.6