Skip to content

ThinkGeoCloudApplicationException

Namespace: ThinkGeo.Core

An exception which is thrown when an error from GIS Server has occured.

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

Inheritance ObjectExceptionApplicationExceptionThinkGeoCloudApplicationException
Implements ISerializable, _Exception

Remarks:

An exception which is thrown when an error from GIS Server has occured.

Properties

StatusCode

Gets the HTTP status code.

public HttpStatusCode StatusCode { get; }

Property Value

HttpStatusCode

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

StackTrace

public string StackTrace { get; }

Property Value

String

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; protected set; }

Property Value

Int32

Constructors

ThinkGeoCloudApplicationException(HttpStatusCode, String, Exception)

Initializes an instace 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.