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
  • Ancestry:

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(aMessage: String)
HttpException(String aMessage)
HttpException(String aMessage)
Sub New(aMessage As String)

Parameters:

  • aMessage:

constructor withError(NSError): InstanceType    (declared in RTLException) Island-iOS Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-macOS, Island-tvOS Simulator, Island-tvOS-arm64, Island-visionOS Simulator, Island-visionOS-arm64, Island-watchOS Simulator, Island-watchOS-arm64_32, 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 Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-macOS, Island-tvOS Simulator, Island-tvOS-arm64, Island-visionOS Simulator, Island-visionOS-arm64, Island-watchOS Simulator, Island-watchOS-arm64_32

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;
var Code: Int32 { 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;
var Code: Int32 { 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(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(aMessage: String)
HttpException(String aMessage)
HttpException(String aMessage)
Sub New(aMessage As String)

Parameters:

  • aMessage:

constructor withError(NSError): InstanceType    (declared in RTLException) Island-iOS Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-macOS, Island-tvOS Simulator, Island-tvOS-arm64, Island-visionOS Simulator, Island-visionOS-arm64, Island-watchOS Simulator, Island-watchOS-arm64_32, 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 Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-macOS, Island-tvOS Simulator, Island-tvOS-arm64, Island-visionOS Simulator, Island-visionOS-arm64, Island-watchOS Simulator, Island-watchOS-arm64_32

constructor withNSException(aException: NSException)
HttpException withNSException(NSException aException)
init(nSException aException: NSException)
Sub New withNSException(aException As NSException)

Parameters:

  • aException: