silverorange Code


Swat.SwatDuplicateIdException
/Swat/exceptions/SwatDuplicateIdException.php at line 14

Class SwatDuplicateIdException

Exception
└─SwatException
└─SwatDuplicateIdException

public class SwatDuplicateIdException
extends SwatException

Thrown when the ids of two objects collide

Copyright:
2005-2006 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

Field Summary
protected string

$id

The id that is colliding.

Fields inherited from Swat.SwatException
backtrace, class, displayer, logger
Constructor Summary

SwatDuplicateIdException(string message, integer code, string id)

Creates a new duplicate id exception.

Method Summary
string

getId()

Gets the id that is colliding.

Methods inherited from Swat.SwatException
display, displayStyleSheet, formatSensitiveParam, formatValue, getArguments, getClass, getSummary, handle, isSensitiveParameter, log, process, setDisplayer, setLogger, setupHandler, toString, toXHTML, wasHandled

Field Detail

/Swat/exceptions/SwatDuplicateIdException.php at line 23

id

protected string $id = null

The id that is colliding


Constructor Detail

/Swat/exceptions/SwatDuplicateIdException.php at line 35

SwatDuplicateIdException

public SwatDuplicateIdException(string message, integer code, string id)

Creates a new duplicate id exception

Parameters:
message - the message of the exception.
code - the code of the exception.
id - the id that is colliding.

Method Detail

/Swat/exceptions/SwatDuplicateIdException.php at line 49

getId

public string getId()

Gets the id that is colliding

Returns:
the id that is colliding.

silverorange Code