Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitFacadeExistsException

Core::Facade::arbitFacadeExistsException

Class arbitFacadeExistsException

Exception thrown when a document already exists in the system and cannot be created from the given name.

Exception thrown when a document already exists in the system and cannot be created from the given name.

Exception
   |
   --arbitException
      |
      --arbitFacadeException
         |
         --arbitFacadeExistsException
Author(s):
Version:   $Revision: 1692 $
License:   GPL

Descendants

Child Class Description
arbitFacadeUserExistsException Exception thrown when a user already exists in the system and cannot be created from the given login name.
arbitFacadeGroupExistsException Exception thrown when a group already exists in the system and cannot be created from the given login name.
arbitFacadeProjectExistsException Exception thrown when an existing project is tried to be recreated.

Member Variables

protected string $text = 'A document with the name \'%name\' already exists.'
Exception text

Exception text

Inherited Member Variables

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

Method Summary

public arbitFacadeExistsException __construct( $name )
Create exception from name

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.
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

arbitFacadeExistsException __construct( string $name )

Create exception from name

Create exception from name

Parameters:
Name Type Description
$name 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:52 +0200 by phpDocumentor 1.4.3