Пример #1
0
 /// <summary>
 /// Creates an instance of the class
 /// </summary>
 ///  <param name="method">indicates which method in Rtd server implementation cause an error</param>
 /// <param name="message">given error message as any</param>
 /// <param name="inner">inner exception</param>
 public COMRtdServerException(RTDMethods method, string message, Exception inner) : base(message, inner)
 {
     Method = method;
 }
Пример #2
0
 /// <summary>
 /// Called from catch handlers if an unexpected error occured
 /// </summary>
 /// <param name="methodKind">method description the error comes from</param>
 /// <param name="exception">occured exception</param>
 protected virtual void OnError(RTDMethods methodKind, Exception exception)
 {
 }
Пример #3
0
 /// <summary>
 /// Creates an instance of the class
 /// </summary>
 /// <param name="method">indicates which method in Rtd server implementation cause an error</param>
 /// <param name="inner">inner exception</param>
 public COMRtdServerException(RTDMethods method, Exception inner) : base(inner)
 {
     Method = method;
 }