Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitException

Core::arbitException

Class arbitException

Basic arbit exception

Basic arbit exception

Implements interfaces:

Exception
   |
   --arbitException
Author(s):
Version:   $Revision: 1523 $
License:   GPL

Descendants

Child Class Description
arbitModulePdependException Basic arbit notification module exception
arbitModuleNotificationException Basic arbit notification module exception
arbitModuleCiException Basic arbit notification module exception
arbitModuleSourceException Basic arbit notification module exception
arbitModulePhpcsException Basic arbit notification module exception
arbitModulePhpDocException Basic arbit notification module exception
arbitModulePhpunitException Basic arbit notification module exception
arbitControllerException Basic arbit controller exception
arbitBackendIniException Base exception for ini configuration backend
arbitFacadeException Basic arbit facade exception
arbitRouterException Basic arbit router exception
arbitRuntimeException Basic runtime exception
arbitPropertyException Basic property exception
arbitPropertyValidationException Exception thrown when a passed value to a property was invalid.
arbitPropertyReadOnlyException Exception thrown when a readonly property is tried to access by writing.
arbitInvalidSignalException Invalid signal exception
arbitInvalidSignalNameException Invalid signal name exception
arbitInvalidSignalDataException Invalid signal data exception
arbitHeadersSentException Exception throw, when we tried to send a HTTP header, but there has already been some content set to the client.
arbitSessionTakeOverException Exception throw, when a client tries to use a foreign session
arbitNoSuchCacheException Exception throw, when a cache is accessed, which is not configured
arbitItemNotCacheableException Exception throw, when a object should be cached, which is not cacheable.
arbitFileUploadErrorException Exception thrown on file upload errors
arbitPhpErrorException Exception thrown, when a PHP error eccured
Exception throw on parse errors in commit messages
arbitCommandFailedException Exception throw on failed command execution
arbitUnknownLocaleException Exception thrown for unknown locales
arbitUnknownDateFormatException Exception thrown for unknown date time formats
arbitUnknownPatternTokenException Exception thrown for unknown date time format pattern tokens
arbitModelException Basic arbit model exception
arbitViewException Basic arbit view exception
arbitModuleException Basic arbit module exception

Member Variables

protected array $properties
Array with placeholder replacers.

Array with placeholder replacers.

protected mixed $rawMessage
Exception message with optional placeholders

Exception message with optional placeholders

Inherited Member Variables

From Exception (Internal Class)
protected $code
protected $file
protected $line
protected $message
private $previous
private $string
private $trace

Method Summary

public void __construct( $message , $properties )
Construct exception message Construct exception message of a string with placeholders and the properties array, where the properties are the values, which will replace the placeholders when the exception is echo'd.
protected string buildMessage( $message , $properties )
Build exception message Replace all placeholders in exception message. has been "borrowed" from ezcTranslations, as this will used for the translation, so that we are using the exact same replacement strategy.
public string getText( )
Get message
public array getTextValues( )
Get properties Get text properties containing the values, which should replace the placeholders in the message.

Inherited Methods

From Exception (Internal Class)
public Exception constructor __construct ( [$message = ], [$code = ], [$previous = ] )
public void getCode ( )
public void getFile ( )
public void getLine ( )
public void getMessage ( )
public void getPrevious ( )
public void getTrace ( )
public void getTraceAsString ( )
public void __clone ( )
public void __toString ( )

Methods

__construct

void __construct( string $message , $properties )

Construct exception message Construct exception message of a string with placeholders and the properties array, where the properties are the values, which will replace the placeholders when the exception is echo'd.

Construct exception message Construct exception message of a string with placeholders and the properties array, where the properties are the values, which will replace the placeholders when the exception is echo'd. This is done to make it possible to echo translated error messages.

Parameters:
Name Type Description
$message string
$properties array
Redefinition of:
Method Description
Exception::constructor __construct ( [$message = ], [$code = ], [$previous = ] )
Redefined in descendants as:
Method Description
arbitModulePdependNotFoundException::__construct() Create exception from signal struct name 
arbitModuleNotificationNoSignalViewStructException::__construct() Create exception from signal struct name 
arbitModuleCiNotFoundException::__construct() Create exception from signal struct name 
arbitModuleSourceRepositoryNotInitializedException::__construct() Create exception from signal struct name 
arbitModuleSourceRessourceNotAvailableException::__construct() Create exception from signal struct name 
arbitModulePhpcsNotFoundException::__construct() Create exception from signal struct name 
arbitModulePhpDocNotFoundException::__construct() Create exception from signal struct name 
arbitModulePhpunitNotFoundException::__construct() Create exception from signal struct name 
arbitControllerUnknownActionException::__construct() Create exception from usupported action name 
arbitBackendNoSuchProjectException::__construct() Construct exception from project and module 
arbitBackendNoSuchModuleException::__construct() Construct exception from project and module 
arbitBackendUnknownConfigurationException::__construct() Construct exception from project and module 
arbitFacadeUnknownClassException::__construct() Create exception from class name 
arbitFacadeUnknownProjectException::__construct() Create exception from project name 
arbitFacadeExistsException::__construct() Create exception from name 
arbitModelNotPersistentException::__construct() Create exception 
arbitUnknownControllerException::__construct() Create exception from controller name. 
arbitRuntimeException::__construct() Create runtime exception from arbitrary message. 
arbitPropertyException::__construct() Construct property exception Construct property exception for the property which was tried to access. 
arbitPropertyValidationException::__construct() Create exception from property name and expected value. 
arbitPropertyReadOnlyException::__construct() Create exception from class name 
arbitInvalidSignalException::__construct() Construct exception Construct exception for the signal which has been emitted. 
arbitInvalidSignalNameException::__construct() Construct exception Construct exception for the signal and module. 
arbitInvalidSignalDataException::__construct() Construct exception 
arbitHeadersSentException::__construct() Construct exception Construct exception from header string. 
arbitSessionTakeOverException::__construct() Construct exception 
arbitNoSuchCacheException::__construct() Construct exception from cache name 
arbitItemNotCacheableException::__construct() Construct exception from item identifier 
arbitFileUploadErrorException::__construct() Construct exception from item identifier 
arbitPhpErrorException::__construct() Construct PHP error 
Construct exception from message 
arbitCommandFailedException::__construct() Construct exception from command and return value 
arbitUnknownLocaleException::__construct() Construct exception from locale 
arbitUnknownDateFormatException::__construct() Construct exception from format 
arbitUnknownPatternTokenException::__construct() Construct exception from token 
arbitModelVersionNotFoundException::__construct() Create exception from requested version 
arbitViewNoDecoratorsExceptions::__construct() Create exception from handler name 
arbitViewDecorationFailedException::__construct() Create exception from view model class name 
arbitModuleFileNotFoundException::__construct() Create exception from module name 
arbitModuleDefinitionNotFoundException::__construct() Create exception from module name 
arbitUnknownModuleException::__construct() Create exception from module name 

buildMessage

string buildMessage( string $message , $properties )

Build exception message Replace all placeholders in exception message. has been "borrowed" from ezcTranslations, as this will used for the translation, so that we are using the exact same replacement strategy.

Build exception message Replace all placeholders in exception message. The exception to do so has been "borrowed" from ezcTranslations, as this will used for the translation, so that we are using the exact same replacement strategy.

Parameters:
Name Type Description
$message string
$properties array

getText

string getText( )

Get message

Get message Get raw exception message without replaced placeholders

Implementation of:
Method Description
arbitTranslateable::getText() Get message

getTextValues

array getTextValues( )

Get properties Get text properties containing the values, which should replace the placeholders in the message.

Get properties Get text properties containing the values, which should replace the placeholders in the message.

Implementation of:
Method Description
arbitTranslateable::getTextValues() Get properties Get text properties containing the values, which should replace the placeholders in the message.
Documentation generated on Mon, 05 Apr 2010 14:01:53 +0200 by phpDocumentor 1.4.3