Class EvaluationException
- Namespace
- CMS.MacroEngine
- Assembly
- CMS.MacroEngine.dll
Exception used when evaluation could not proceed (wrong types, etc.).
public class EvaluationException : MacroException
- Inheritance
-
objectExceptionEvaluationException
- Inherited Members
- Extension Methods
Constructors
EvaluationException(string, string, Exception)
Constructor.
public EvaluationException(string originalExpression, string exactMessage = null, Exception innerException = null)
Parameters
originalExpressionstringThe whole expression which was being processed when this error occurred.
exactMessagestringMessage describing where the evaluation threw the exception
innerExceptionExceptionReference to the inner exception that is the cause of this exception.
Properties
ExactMessage
Gets or sets the message describing where the evaluation threw the exception.
public string ExactMessage { get; set; }
Property Value
- string
Message
Returns evaluation error message.
public override string Message { get; }
Property Value
- string