HttpException

Overview

Exception thrown when http fails.

Location

  • Reference:
    • Elements.dll  .NET, .NET Core 6.0, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
  • Ancestry:

 

constructor    (declared in RTLException)

 

constructor

 

HttpException()

 

init()

 

HttpException()

 

Sub New()

constructor (String, array of Object)    (declared in RTLException)

 

constructor(aFormat: String; params aParams: array of Object)

 

HttpException(String aFormat, params Object[] aParams)

 

init(_ aFormat: String, _ aParams: Object...)

 

HttpException(String aFormat, Object[]... aParams)

 

Sub New(aFormat As String, ParamArray aParams As Object())

Parameters:

  • aFormat:
  • aParams:

constructor (String)    (declared in RTLException)

 

constructor(aMessage: String)

 

HttpException(String aMessage)

 

init(_ aMessage: String)

 

HttpException(String aMessage)

 

Sub New(aMessage As String)

Parameters:

  • aMessage:

constructor withError(NSError): InstanceType    (declared in RTLException) Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Toffee, ToffeeV2

 

constructor withError(aError: NSError)

 

HttpException withError(NSError aError)

 

init(error aError: NSError)

 

Sub New withError(aError As NSError)

Parameters:

  • aError:

constructor withNSException(NSException)    (declared in RTLException) Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator

 

constructor withNSException(aException: NSException)

 

HttpException withNSException(NSException aException)

 

init(nSException aException: NSException)

 

Sub New withNSException(aException As NSException)

Parameters:

  • aException:

Code

 

property Code: Int32 read;

 

Int32 Code { get; }

 

var Code: Int32 { get{} }

 

Integer Code { __get; }

 

ReadOnly Property Code() As Int32

Message    (declared in RTLException) Toffee, ToffeeV2

 

var Message: String { get{} }

Request

 

property Request: nullable HttpRequest read;

 

HttpRequest? Request { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Request: HttpRequest? { get{} }
// Toffee
var Request: HttpRequest { get{} }

 

HttpRequest Request { __get; }

 

ReadOnly Property Request() As HttpRequest?

Response

 

property Response: nullable HttpResponse read;

 

HttpResponse? Response { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Response: HttpResponse? { get{} }
// Toffee
var Response: HttpResponse { get{} }

 

HttpResponse Response { __get; }

 

ReadOnly Property Response() As HttpResponse?

 

Code

 

property Code: Int32 read;

 

Int32 Code { get; }

 

var Code: Int32 { get{} }

 

Integer Code { __get; }

 

ReadOnly Property Code() As Int32

Message    (declared in RTLException) Toffee, ToffeeV2

 

var Message: String { get{} }

Request

 

property Request: nullable HttpRequest read;

 

HttpRequest? Request { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Request: HttpRequest? { get{} }
// Toffee
var Request: HttpRequest { get{} }

 

HttpRequest Request { __get; }

 

ReadOnly Property Request() As HttpRequest?

Response

 

property Response: nullable HttpResponse read;

 

HttpResponse? Response { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Response: HttpResponse? { get{} }
// Toffee
var Response: HttpResponse { get{} }

 

HttpResponse Response { __get; }

 

ReadOnly Property Response() As HttpResponse?

 

constructor    (declared in RTLException)

 

constructor

 

HttpException()

 

init()

 

HttpException()

 

Sub New()

constructor (String, array of Object)    (declared in RTLException)

 

constructor(aFormat: String; params aParams: array of Object)

 

HttpException(String aFormat, params Object[] aParams)

 

init(_ aFormat: String, _ aParams: Object...)

 

HttpException(String aFormat, Object[]... aParams)

 

Sub New(aFormat As String, ParamArray aParams As Object())

Parameters:

  • aFormat:
  • aParams:

constructor (String)    (declared in RTLException)

 

constructor(aMessage: String)

 

HttpException(String aMessage)

 

init(_ aMessage: String)

 

HttpException(String aMessage)

 

Sub New(aMessage As String)

Parameters:

  • aMessage:

constructor withError(NSError): InstanceType    (declared in RTLException) Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Toffee, ToffeeV2

 

constructor withError(aError: NSError)

 

HttpException withError(NSError aError)

 

init(error aError: NSError)

 

Sub New withError(aError As NSError)

Parameters:

  • aError:

constructor withNSException(NSException)    (declared in RTLException) Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator

 

constructor withNSException(aException: NSException)

 

HttpException withNSException(NSException aException)

 

init(nSException aException: NSException)

 

Sub New withNSException(aException As NSException)

Parameters:

  • aException: