Skip to content

ThinkGeoCloudApplicationException

Namespace: ThinkGeo.Core

An exception that is thrown when GIS Server returns an error.

public class ThinkGeoCloudApplicationException : System.ApplicationException, System.Runtime.Serialization.ISerializable

Inheritance object → Exception → ApplicationException → ThinkGeoCloudApplicationException
Implements ISerializable

Remarks:

An exception that is thrown when GIS Server returns an error.

Properties

StatusCode

Gets the HTTP status code.

public HttpStatusCode StatusCode { get; }

Property Value

HttpStatusCode

Data

public IDictionary Data { get; }

Property Value

IDictionary

public string HelpLink { get; set; }

Property Value

string

HResult

public int HResult { get; protected set; }

Property Value

int

InnerException

public Exception InnerException { get; }

Property Value

Exception

Message

public string Message { get; }

Property Value

string

Source

public string Source { get; set; }

Property Value

string

StackTrace

public string StackTrace { get; }

Property Value

string

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Constructors

ThinkGeoCloudApplicationException(HttpStatusCode, string, Exception)

Initializes an instance of GisServerServiceException with an HTTP code, an optional message and an optional inner exception.

public ThinkGeoCloudApplicationException(HttpStatusCode statusCode, string message, Exception innerException)

Parameters

statusCode HttpStatusCode
The HTTP code returns from the server.

message string
The error message from service if any.

innerException Exception
The inner exception.