예제 #1
0
 public OMEException(string errorCode, string errorMessage)
 {
     ErrorCode        = errorCode;
     ExMessage        = errorMessage;
     criticalityLevel = CriticalityLevel.HIGH;
     traceInfo        = StackTraceType.ENHANCED;
 }
예제 #2
0
 public OMEException(string errorCode, Exception ex, CriticalityLevel level)
 {
     ErrorCode        = errorCode;
     innerException   = ex;
     criticalityLevel = level;
     traceInfo        = StackTraceType.BRIEF;
 }
예제 #3
0
 public OMEException(string errorCode, Exception ex, CriticalityLevel level, StackTraceType traceinfo)
 {
     ErrorCode        = errorCode;
     innerException   = ex;
     criticalityLevel = level;
     traceInfo        = traceinfo;
 }
예제 #4
0
 public OMEException(string errorCode, Exception ex,CriticalityLevel level)
 {
     ErrorCode = errorCode;
     innerException = ex ;
     criticalityLevel = level ;
     traceInfo = StackTraceType.BRIEF;
 }
예제 #5
0
 public OMEException()
 {
     ExMessage = string.Empty;
     criticalityLevel = CriticalityLevel.LOW;
     traceInfo = StackTraceType.BRIEF;
     
 }
예제 #6
0
 public OMEException(string errorCode, Exception ex, CriticalityLevel level, StackTraceType traceinfo)
 {
     ErrorCode = errorCode;             
     innerException = ex;
     criticalityLevel = level;
     traceInfo = traceinfo;
 }
예제 #7
0
 public OMEException(string errorCode, string errorMessage, CriticalityLevel level, string additionalInfoToWrite)
 {
     ErrorCode             = errorCode;
     ExMessage             = errorMessage;
     AdditionalInfoToWrite = additionalInfoToWrite;
     criticalityLevel      = level;
     traceInfo             = StackTraceType.BRIEF;
 }
예제 #8
0
 public OMEException(string errorCode, string errorMessage, CriticalityLevel level, Exception innerException)
 {
     ErrorCode           = errorCode;
     ExMessage           = errorMessage;
     this.innerException = innerException;
     criticalityLevel    = level;
     traceInfo           = StackTraceType.BRIEF;
 }
예제 #9
0
 public OMEException(string errorCode, string errorMessage, CriticalityLevel level, Exception innerException)
 {
     ErrorCode = errorCode;
     ExMessage = errorMessage;
     this.innerException = innerException;
     criticalityLevel = level;
     traceInfo = StackTraceType.BRIEF;
 }
예제 #10
0
 public OMEException(string errorCode, string errorMessage, CriticalityLevel level, string additionalInfoToWrite)
 {
     ErrorCode = errorCode;
     ExMessage = errorMessage;
     AdditionalInfoToWrite = additionalInfoToWrite;
     criticalityLevel = level;
     traceInfo = StackTraceType.BRIEF;
 }
예제 #11
0
 public OMEException()
 {
     ExMessage        = string.Empty;
     criticalityLevel = CriticalityLevel.LOW;
     traceInfo        = StackTraceType.BRIEF;
 }
예제 #12
0
 public OMEException(string errorCode, string errorMessage)
 {
     ErrorCode = errorCode;
     ExMessage = errorMessage;
     criticalityLevel = CriticalityLevel.HIGH;
     traceInfo = StackTraceType.ENHANCED;
 }