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