Ejemplo n.º 1
0
 public GeneralException(SeverityOptions severity, string keyMessage, params object[] messageParameters)
     : base(keyMessage)
 {
     _severity          = severity;
     _debugMessage      = keyMessage;
     _messageParameters = messageParameters;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
0
 protected GeneralException(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     _severity     = (SeverityOptions)info.GetInt32("severity");
     _debugMessage = info.GetString("message");
 }
Ejemplo n.º 5
0
 public GeneralException(SeverityOptions severity, string keyMessage)
     : base(keyMessage)
 {
     _severity     = severity;
     _debugMessage = keyMessage;
 }