C# Class ExceptionFilter.Controllers.ErrorsController

Inheritance: ApiController
Mostra file Open project: peteratseneca/dps907fall2013

Public Methods

Method Description
Get ( int id ) : HttpResponseMessage

Fetch a specific logged exception object by its identifier

Get ( ) : IEnumerable

Fetch all logged exception objects

GetError ( string causeerror ) : string

Cause an exception to happen

Method Details

Get() public method

Fetch a specific logged exception object by its identifier
public Get ( int id ) : HttpResponseMessage
id int Logged exception identifier
return System.Net.Http.HttpResponseMessage

Get() public method

Fetch all logged exception objects
public Get ( ) : IEnumerable
return IEnumerable

GetError() public method

Cause an exception to happen
public GetError ( string causeerror ) : string
causeerror string Add a query string 'causerror'
return string