public OMEException(string errorCode, string errorMessage) { ErrorCode = errorCode; ExMessage = errorMessage; criticalityLevel = CriticalityLevel.HIGH; traceInfo = StackTraceType.ENHANCED; }
public OMEException(string errorCode, Exception ex, CriticalityLevel level) { ErrorCode = errorCode; innerException = ex; criticalityLevel = level; traceInfo = StackTraceType.BRIEF; }
public OMEException(string errorCode, Exception ex, CriticalityLevel level, StackTraceType traceinfo) { ErrorCode = errorCode; innerException = ex; criticalityLevel = level; traceInfo = traceinfo; }
public OMEException(string errorCode, Exception ex,CriticalityLevel level) { ErrorCode = errorCode; innerException = ex ; criticalityLevel = level ; traceInfo = StackTraceType.BRIEF; }
public OMEException() { ExMessage = string.Empty; criticalityLevel = CriticalityLevel.LOW; traceInfo = StackTraceType.BRIEF; }
public OMEException(string errorCode, string errorMessage, CriticalityLevel level, string additionalInfoToWrite) { ErrorCode = errorCode; ExMessage = errorMessage; AdditionalInfoToWrite = additionalInfoToWrite; criticalityLevel = level; traceInfo = StackTraceType.BRIEF; }
public OMEException(string errorCode, string errorMessage, CriticalityLevel level, Exception innerException) { ErrorCode = errorCode; ExMessage = errorMessage; this.innerException = innerException; criticalityLevel = level; traceInfo = StackTraceType.BRIEF; }