Mono.WebServer.XSPWorker.HandleInitialException C# (CSharp) Méthode

HandleInitialException() private méthode

private HandleInitialException ( Exception e ) : void
e System.Exception
Résultat void
        void HandleInitialException(Exception e)
        {
            //bool ignore = ((e is RequestLineException) || (e is IOException));
            //if (!ignore)
            //	Console.WriteLine (e);

            try {
                if (initial != null && initial.GotSomeInput && sock.Connected) {
                    byte [] error = HttpErrors.ServerError ();
                    Write (error, 0, error.Length);
                }
            } catch {}

            try {
                Close ();
            } catch {}

            if (broker != null && requestId != -1)
                broker.UnregisterRequest (requestId);
        }