16 using System.Collections.Generic;
19 namespace ErrorManagement {
36 aux.AppendFormat(
"The member '{0}' cannot be accessed due to its protection level.", memberId);
37 this.Description = aux.ToString();
ProtectionLevelError(string memberId, Location loc)
Constructor of ProtectionLevelError
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
Represents an adapter of existing features in every error.
Represents a error produced when a member cannot be access due to its protection level.