9using System.Collections.Generic;
22 private const string IdentifierKey =
"identifier";
28 public ServerException(
string identifier) : base(Properties.Resources.SanitizedServerSideDataPortalException)
30 Data.Add(IdentifierKey, identifier);
40 return Data[IdentifierKey].ToString();
50 return string.Format(Properties.Resources.SanitizedServerSideDataPortalDetailedException,
RequestIdentifier);
Sanitized server-side data portal exception; used to avoid the transmission of sensitive server-side ...
override string ToString()
Override of the ToString method to insert the unique identifier
string RequestIdentifier
The unique identifier for the request that failed Use this identifier to look for the exception detai...
ServerException(string identifier)
Constructor.