Exception
└─SwatException
└─SwatInvalidCallbackException
public class SwatInvalidCallbackException
extends SwatException
| Field Summary | |
|---|---|
| protected mixed | The value the user tried to set the callback to. |
| Fields inherited from Swat.SwatException | |
|---|---|
| backtrace, class, displayer, logger | |
| Constructor Summary | |
|---|---|
SwatInvalidCallbackException(string message, integer code, mixed callback) Creates a new invalid callback exception. |
|
| Method Summary | |
|---|---|
| mixed | Gets the value the user tried to set the callback to. |
| Methods inherited from Swat.SwatException | |
|---|---|
| display, displayStyleSheet, formatSensitiveParam, formatValue, getArguments, getClass, getSummary, handle, isSensitiveParameter, log, process, setDisplayer, setLogger, setupHandler, toString, toXHTML, wasHandled | |
protected mixed $callback = null
The value the user tried to set the callback to
public SwatInvalidCallbackException(string message, integer code, mixed callback)
Creates a new invalid callback exception
message - the message of the exception.code - the code of the exception.callback - the value the user tried to set the callback to.public mixed getCallback()
Gets the value the user tried to set the callback to
Thrown when a users tries to set a callback to a value that is not a callback