{CompanyName} FlexyGo

AjaxError..::..AjaxGenericException Method

Transform de exception in json result

Namespace:  FLEXYGO
Assembly:  FlexyGo (in FlexyGo.dll)

Syntax


public static Jerror AjaxGenericException(
	string ErrorTitle,
	LocalizedException Exception,
	HttpResponseBase Response
)
Public Shared Function AjaxGenericException ( _
	ErrorTitle As String, _
	Exception As LocalizedException, _
	Response As HttpResponseBase _
) As Jerror

Parameters

ErrorTitle
Type: String
An error title to describe the exception's context
Exception
Type: FLEXYGO.Exceptions..::..LocalizedException
The exception to transform
Response
Type: HttpResponseBase
The response object to set the error status code

Return Value

Jerror.