Exception
└─SwatException
└─SwatInvalidConstantExpressionException
public class SwatInvalidConstantExpressionException
extends SwatException
| Field Summary | |
|---|---|
| protected string | 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 | 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 | |
protected string $expression = null
The constant expression that is invalid
public SwatInvalidConstantExpressionException(string message, integer code, string expression)
Creates a new class not found exception
message - the message of the exception.code - the code of the exception.expression - the constant expression that is invalid.public string getExpression()
Gets the constant expression that is invalid
Thrown when an invalid constant expression is used