15 references to HttpListenerException
System.Net.HttpListener (15)
System\Net\Managed\ChunkedInputStream.cs (1)
171throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.Format(SR.net_io_operation_aborted, ares._error.Message));
System\Net\Managed\HttpEndPointListener.cs (2)
267throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.Format(SR.net_listener_already, prefix)); 354throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.Format(SR.net_listener_already, prefix));
System\Net\Managed\HttpEndPointManager.cs (7)
91throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.net_invalid_port); 97throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.net_listener_host); 100throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.net_invalid_path); 103throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.net_invalid_path); 127throw new HttpListenerException(NotSupportedErrorCode, SR.net_listener_not_supported); 133throw new HttpListenerException(NotSupportedErrorCode, SR.net_listener_not_supported); 161throw new HttpListenerException(ex.ErrorCode, ex.Message);
System\Net\Managed\HttpResponseStream.Managed.cs (3)
152throw new HttpListenerException(ex.HResult, ex.Message); 254throw new HttpListenerException(ex.HResult, ex.Message); 292throw new HttpListenerException(ex.HResult, ex.Message);
System\Net\Managed\ListenerAsyncResult.Managed.cs (2)
70_exception = new HttpListenerException((int)HttpStatusCode.InternalServerError, SR.net_listener_close); 170Complete(new HttpListenerException((int)HttpStatusCode.Unauthorized, SR.net_listener_auth_errors));