C# Class Raven.Database.Server.HttpServer.ExceptionHandler

Mostra file Open project: robashton/ravendb

Public Methods

Method Description
SerializeError ( IHttpContext ctx, object error ) : void

Private Methods

Method Description
DefaultHandler ( IHttpContext ctx, Exception e ) : void
HandleBadRequest ( IHttpContext ctx, Raven.Abstractions.Exceptions.BadRequestException e ) : void
HandleConcurrencyException ( IHttpContext ctx, Raven.Abstractions.Exceptions.ConcurrencyException e ) : void
HandleIndexDisabledException ( IHttpContext ctx, Raven.Abstractions.Exceptions.IndexDisabledException e ) : void
HandleIndexDoesNotExistsException ( IHttpContext ctx, Raven.Abstractions.Exceptions.IndexDoesNotExistsException e ) : void
HandleJintException ( IHttpContext ctx, Jint.JintException e ) : void
TryHandleException ( IHttpContext ctx, Exception e ) : void

Method Details

SerializeError() public static method

public static SerializeError ( IHttpContext ctx, object error ) : void
ctx IHttpContext
error object
return void