silverorange Code


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

Class SwatInvalidConstantExpressionException

Exception
└─SwatException
└─SwatInvalidConstantExpressionException

public class SwatInvalidConstantExpressionException
extends SwatException

Thrown when an invalid constant expression is used

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

Field Summary
protected string

$expression

The constant expression that is invalid.

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

SwatInvalidConstantExpressionException(string message, integer code, string expression)

Creates a new class not found exception.

Method Summary
string

getExpression()

Gets the constant expression that is invalid.

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/SwatInvalidConstantExpressionException.php at line 23

expression

protected string $expression = null

The constant expression that is invalid


Constructor Detail

/Swat/exceptions/SwatInvalidConstantExpressionException.php at line 35

SwatInvalidConstantExpressionException

public SwatInvalidConstantExpressionException(string message, integer code, string expression)

Creates a new class not found exception

Parameters:
message - the message of the exception.
code - the code of the exception.
expression - the constant expression that is invalid.

Method Detail

/Swat/exceptions/SwatInvalidConstantExpressionException.php at line 49

getExpression

public string getExpression()

Gets the constant expression that is invalid

Returns:
the constant expression that is invalid.

silverorange Code