public void SetThrowException(ServerInterceptor interceptor, ServerInterceptionPoint point)
        {
            TestInterceptor toModify = GetInterceptor(interceptor);

            switch (point)
            {
            case ServerInterceptionPoint.ReceiveSvcContext:
                toModify.SetExceptionOnInPathSvcContext(new BAD_PARAM(2000, CompletionStatus.Completed_No));
                break;

            case ServerInterceptionPoint.ReceiveRequest:
                toModify.SetExceptionOnInPathRequest(new BAD_PARAM(2000, CompletionStatus.Completed_No));
                break;

            case ServerInterceptionPoint.SendResponse:
                toModify.SetExceptionOnOutPath(new BAD_PARAM(2000, CompletionStatus.Completed_Yes));
                break;
            }
        }
 public void SetThrowException(ServerInterceptor interceptor, ServerInterceptionPoint point) {
     TestInterceptor toModify = GetInterceptor(interceptor);
     switch (point) {
         case ServerInterceptionPoint.ReceiveSvcContext:
             toModify.SetExceptionOnInPathSvcContext(new BAD_PARAM(2000, CompletionStatus.Completed_No));
             break;
         case ServerInterceptionPoint.ReceiveRequest:
             toModify.SetExceptionOnInPathRequest(new BAD_PARAM(2000, CompletionStatus.Completed_No));
             break;
         case ServerInterceptionPoint.SendResponse:
             toModify.SetExceptionOnOutPath(new BAD_PARAM(2000, CompletionStatus.Completed_Yes));
             break;
     }
 }