public GeneralException(SeverityOptions severity, string keyMessage, params object[] messageParameters) : base(keyMessage) { _severity = severity; _debugMessage = keyMessage; _messageParameters = messageParameters; }
public CodeGenerationError(string message = "", SeverityOptions severity = SeverityOptions.Warning, int line = 0, int column = 0) { Message = message; Line = (uint)line; Column = (uint)column; Severity = severity; }
protected GeneralException(SerializationInfo info, StreamingContext context) : base(info, context) { _severity = (SeverityOptions)info.GetInt32("severity"); _debugMessage = info.GetString("message"); }
public GeneralException(SeverityOptions severity, string keyMessage) : base(keyMessage) { _severity = severity; _debugMessage = keyMessage; }