C# Class CBApi.Framework.ErrorParser

Show file Open project: usbsnowcrash/Careerbuilder.Net

Public Methods

Method Description
CheckForErrors ( IRestResponse response ) : void
GetXmlContentWithoutNamespaces ( string xmlDocument ) : string

Private Methods

Method Description
CheckRestSharpForErrorStatus ( IRestResponse response ) : void
ParseJSONForErrorsNode ( IRestResponse response ) : void
ParseResponseForErrorsNode ( IRestResponse response ) : void
ParseXmlForErrorsNode ( IRestResponse response ) : void
RemoveAllNamespaces ( System.Xml.Linq.XElement xmlDocument ) : System.Xml.Linq.XElement

Method Details

CheckForErrors() public static method

public static CheckForErrors ( IRestResponse response ) : void
response IRestResponse
return void

GetXmlContentWithoutNamespaces() public static method

public static GetXmlContentWithoutNamespaces ( string xmlDocument ) : string
xmlDocument string
return string