Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitRuntimeException

Core::arbitRuntimeException

Class arbitRuntimeException

Basic runtime exception

Basic runtime exception

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

Inherited Member Variables

From arbitException
protected arbitException::$properties
protected arbitException::$rawMessage

Method Summary

public void __construct( $message )
Create runtime exception from arbitrary message.

Inherited Methods

From arbitException
public void arbitException::__construct()
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 arbitException::buildMessage()
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 arbitException::getText()
Get message
public array arbitException::getTextValues()
Get properties Get text properties containing the values, which should replace the placeholders in the message.

Methods

__construct

void __construct( string $message )

Create runtime exception from arbitrary message.

Create runtime exception from arbitrary message. Normally you should use a specialized exception, as they can be cought and translated properly. Runtime exceptions are only for the really serious stuff.

Parameters:
Name Type Description
$message string
Redefinition of:
Method Description
arbitException::__construct() 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.
Documentation generated on Mon, 05 Apr 2010 14:01:54 +0200 by phpDocumentor 1.4.3