16 using System.Collections.Generic;
21 namespace ErrorManagement
42 aux.AppendFormat(
"The operation '{0}' cannot be applied to operands of type '{1}' and '{2}'.", operation, op1, op2);
43 this.Description = aux.ToString();
57 aux.AppendFormat(
"The operation '{0}' cannot be applied to operand of type '{1}'.", operation, te);
58 this.Description = aux.ToString();
Represents a error produced when tries to make an operation not allowed for the specified type...
This class encapsulates a location in a specific file. Implements an Inmutable pattern. So it can be used in any context, that is his internal fields never change.
System.Text.StringBuilder StringBuilder
OperationNotAllowedError(string operation, string te, Location loc)
Constructor of OperationNotAllowedError
Represents an adapter of existing features in every error.
OperationNotAllowedError(string operation, string op1, string op2, Location loc)
Constructor of OperationNotAllowedError