Class LinqExpressionCannotBeExecutedException
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
The exception that is re-thrown when an exception is caught during LinqToObjectsFallback<TElement>(Expression, ICMSQueryable<TObject>, out IQueryable<TElement>, ICMSQueryable<TObject>). The original exception is then set in the System.Exception.InnerException member and the failed expression is set in the FailedExpression member.
public class LinqExpressionCannotBeExecutedException : Exception
- Inheritance
-
objectExceptionLinqExpressionCannotBeExecutedException
- Extension Methods
Constructors
LinqExpressionCannotBeExecutedException()
Initializes a new instance of the LinqExpressionCannotBeExecutedException class.
public LinqExpressionCannotBeExecutedException()
LinqExpressionCannotBeExecutedException(Expression)
Initializes a new instance of the LinqExpressionCannotBeExecutedException class.
public LinqExpressionCannotBeExecutedException(Expression failedExpression)
Parameters
failedExpressionExpressionThe expression that failed to execute.
LinqExpressionCannotBeExecutedException(string)
Initializes a new instance of the LinqExpressionCannotBeExecutedException class.
public LinqExpressionCannotBeExecutedException(string message)
Parameters
messagestringThe message that describes the error.
LinqExpressionCannotBeExecutedException(string, Exception)
Initializes a new instance of the LinqExpressionCannotBeExecutedException class.
public LinqExpressionCannotBeExecutedException(string message, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
LinqExpressionCannotBeExecutedException(string, Exception, Expression)
Initializes a new instance of the LinqExpressionCannotBeExecutedException class.
public LinqExpressionCannotBeExecutedException(string message, Exception innerException, Expression failedExpression)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
failedExpressionExpressionThe expression that failed to execute.
LinqExpressionCannotBeExecutedException(string, Expression)
Initializes a new instance of the LinqExpressionCannotBeExecutedException class.
public LinqExpressionCannotBeExecutedException(string message, Expression failedExpression)
Parameters
messagestringThe message that describes the error.
failedExpressionExpressionThe expression that failed to execute.
Properties
FailedExpression
Gets the expression that failed to execute.
public Expression FailedExpression { get; }
Property Value
- Expression