C# Class Rock.Rest.RockApiExceptionHandler

Inheritance: System.Web.Http.ExceptionHandling.ExceptionHandler
Mostrar archivo Open project: NewSpring/Rock

Public Methods

Method Description
Handle ( System.Web.Http.ExceptionHandling.ExceptionHandlerContext context ) : void

When overridden in a derived class, handles the exception synchronously.

ShouldHandle ( System.Web.Http.ExceptionHandling.ExceptionHandlerContext context ) : bool

Determines whether the exception should be handled.

Method Details

Handle() public method

When overridden in a derived class, handles the exception synchronously.
public Handle ( System.Web.Http.ExceptionHandling.ExceptionHandlerContext context ) : void
context System.Web.Http.ExceptionHandling.ExceptionHandlerContext The exception handler context.
return void

ShouldHandle() public method

Determines whether the exception should be handled.
public ShouldHandle ( System.Web.Http.ExceptionHandling.ExceptionHandlerContext context ) : bool
context System.Web.Http.ExceptionHandling.ExceptionHandlerContext The exception handler context.
return bool