Exception
└─SwatException
└─SwatDuplicateIdException
public class SwatDuplicateIdException
extends SwatException
| Field Summary | |
|---|---|
| protected string | 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 | |
protected string $id = null
The id that is colliding
public SwatDuplicateIdException(string message, integer code, string id)
Creates a new duplicate id exception
message - the message of the exception.code - the code of the exception.id - the id that is colliding.public string getId()
Gets the id that is colliding
Thrown when the ids of two objects collide