예제 #1
0
 internal static void OnFatalApplicationException(int errorCode, Exception exception)
 {
     FatalApplicationException.Raise(null, new ChoFatalErrorEventArgs(errorCode, exception));
     Environment.FailFast("Fatal error occured.", exception);
 }
예제 #2
0
 internal static void OnFatalApplicationException(int errorCode, string errorMsg)
 {
     FatalApplicationException.Raise(null, new ChoFatalErrorEventArgs(errorCode, errorMsg));
     Environment.FailFast(errorMsg);
 }