Пример #1
0
 public static OMSRuntimeException generateException(OMSResponseStatus status)
 {
     return(new OMSRuntimeException(status.getStatusCode(), status.getMore()));
 }
Пример #2
0
 public static OMSRuntimeException generateException(OMSResponseStatus status, params string[] messageArgs)
 {
     return(new OMSRuntimeException(status.getStatusCode(), string.Format(status.getMore(), messageArgs)));
 }