silverorange Code


Swat.SwatInvalidCallbackException
/Swat/exceptions/SwatInvalidCallbackException.php at line 15

Class SwatInvalidCallbackException

Exception
└─SwatException
└─SwatInvalidCallbackException

public class SwatInvalidCallbackException
extends SwatException

Thrown when a users tries to set a callback to a value that is not a callback

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

Field Summary
protected mixed

$callback

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

getCallback()

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

Field Detail

/Swat/exceptions/SwatInvalidCallbackException.php at line 24

callback

protected mixed $callback = null

The value the user tried to set the callback to


Constructor Detail

/Swat/exceptions/SwatInvalidCallbackException.php at line 36

SwatInvalidCallbackException

public SwatInvalidCallbackException(string message, integer code, mixed callback)

Creates a new invalid callback exception

Parameters:
message - the message of the exception.
code - the code of the exception.
callback - the value the user tried to set the callback to.

Method Detail

/Swat/exceptions/SwatInvalidCallbackException.php at line 50

getCallback

public mixed getCallback()

Gets the value the user tried to set the callback to

Returns:
the value the user tried to set the callback to.

silverorange Code