RestException Class

PreStorm - A Data Client for ArcGIS Server REST API
Represents errors that occur when handling a request against the ArcGIS Rest API.
Inheritance Hierarchy

SystemObject
  SystemException
    PreStormRestException

Namespace:  PreStorm
Assembly:  PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax

[SerializableAttribute]
public class RestException : Exception

The RestException type exposes the following members.

Constructors

  NameDescription
Public methodRestException
Initializes a new instance of the RestException class.
Top
Properties

  NameDescription
Public propertyRequest
The data sent to the server.
Public propertyResponse
The JSON response from ArcGIS Server.
Public propertyUrl
The url of the service.
Top
Methods

  NameDescription
Public methodGetObjectData
When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
(Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext).)
Top
See Also

Reference