Exemplo n.º 1
0
 public UtilException(string message, int code, Exception inner, string traceFileName)
     : base(message, inner)
 {
     _code         = code;
     _severity     = Exception_ExceptionSeverity.Medium;
     TraceFileName = traceFileName;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="message"></param>
 /// <param name="code"></param>
 /// <param name="inner"></param>
 public UtilException(string message,int code, Exception inner)
     : base(message, inner)
 {
     _code = code;
     _severity = Exception_ExceptionSeverity.Medium;
 }
Exemplo n.º 3
0
 public UtilException(string message, Exception inner,string traceFileName)
     : base(message, inner)
 {
     _code = -1;
     _severity = Exception_ExceptionSeverity.Medium;
     TraceFileName = traceFileName;
 }
Exemplo n.º 4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="message"></param>
 /// <param name="code"></param>
 /// <param name="severity"></param>
 public UtilException(string message, int code, Exception_ExceptionSeverity severity)
     : base(message)
 {
     _code = code;
     _severity = severity;
 }
Exemplo n.º 5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="message"></param>
 /// <param name="severity"></param>
 public UtilException(string message, Exception_ExceptionSeverity severity)
     : base(message)
 {
     _severity = severity;
 }
Exemplo n.º 6
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="message"></param>
 public UtilException(string message)
     : base(message)
 {
     _severity = Exception_ExceptionSeverity.Medium;
 }
Exemplo n.º 7
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected UtilException(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     _severity = Exception_ExceptionSeverity.Medium;
 }
Exemplo n.º 8
0
 /// <summary>
 /// With Severity
 /// </summary>
 /// <param name="message"></param>
 /// <param name="code"></param>
 /// <param name="inner"></param>
 /// <param name="severity"></param>
 public UtilException(string message, Exception_ErrorMessage code, Exception inner, Exception_ExceptionSeverity severity)
     : base(message, inner)
 {
     _code = (int)code;
     _severity = severity;
 }
Exemplo n.º 9
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected UtilException(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     _severity = Exception_ExceptionSeverity.Medium;
 }
Exemplo n.º 10
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="message"></param>
 /// <param name="code"></param>
 /// <param name="severity"></param>
 public UtilException(string message, int code, Exception_ExceptionSeverity severity)
     : base(message)
 {
     _code     = code;
     _severity = severity;
 }
Exemplo n.º 11
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="message"></param>
 /// <param name="code"></param>
 public UtilException(string message, int code)
     : base(message)
 {
     _code     = code;
     _severity = Exception_ExceptionSeverity.Medium;
 }
Exemplo n.º 12
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="message"></param>
 /// <param name="severity"></param>
 public UtilException(string message, Exception_ExceptionSeverity severity)
     : base(message)
 {
     _severity = severity;
 }
Exemplo n.º 13
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="message"></param>
 public UtilException(string message)
     : base(message)
 {
     _severity = Exception_ExceptionSeverity.Medium;
 }
Exemplo n.º 14
0
 /// <summary>
 /// With Severity
 /// </summary>
 /// <param name="message"></param>
 /// <param name="code"></param>
 /// <param name="inner"></param>
 /// <param name="severity"></param>
 public UtilException(string message, Exception_ErrorMessage code, Exception inner, Exception_ExceptionSeverity severity)
     : base(message, inner)
 {
     _code     = (int)code;
     _severity = severity;
 }
Exemplo n.º 15
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="message"></param>
 /// <param name="inner"></param>
 public UtilException(string message, Exception inner)
     : base(message, inner)
 {
     _code     = -1;
     _severity = Exception_ExceptionSeverity.Medium;
 }