ArgumentNullException

Overview

Exception thrown when an argument is null when it should not be.

Location

 

constructor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

 

constructor

 

ArgumentNullException()

 

init()

 

ArgumentNullException()

 

Sub New()

constructor init() Toffee

 

init(init )

Parameters:

  • :

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

 

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

 

ArgumentNullException(String aFormat, params Object[] aParams)

 

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

 

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

 

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

Parameters:

  • aFormat:
  • aParams:

constructor (String)

 

constructor(aMessage: String)

 

ArgumentNullException(String aMessage)

 

init(_ aMessage: String)

 

ArgumentNullException(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)

 

ArgumentNullException withError(NSError aError)

 

init(withError aError: NSError)

 

Sub New withError(aError As NSError)

Parameters:

  • aError:

Message    (declared in RTLException) Toffee, ToffeeV2

 

var Message: String { get{} }

RaiseIfNil

 

class method RaiseIfNil(Value: Object; Name: String)

 

static void RaiseIfNil(Object Value, String Name)

 

static func RaiseIfNil(_ Value: Object, _ Name: String)

 

static void RaiseIfNil(Object Value, String Name)

 

Shared Sub RaiseIfNil(Value As Object, Name As String)

Parameters:

  • Value:
  • Name:

 

Message    (declared in RTLException) Toffee, ToffeeV2

 

var Message: String { get{} }

 

RaiseIfNil

 

class method RaiseIfNil(Value: Object; Name: String)

 

static void RaiseIfNil(Object Value, String Name)

 

static func RaiseIfNil(_ Value: Object, _ Name: String)

 

static void RaiseIfNil(Object Value, String Name)

 

Shared Sub RaiseIfNil(Value As Object, Name As String)

Parameters:

  • Value:
  • Name:

 

constructor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

 

constructor

 

ArgumentNullException()

 

init()

 

ArgumentNullException()

 

Sub New()

constructor init() Toffee

 

init(init )

Parameters:

  • :

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

 

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

 

ArgumentNullException(String aFormat, params Object[] aParams)

 

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

 

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

 

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

Parameters:

  • aFormat:
  • aParams:

constructor (String)

 

constructor(aMessage: String)

 

ArgumentNullException(String aMessage)

 

init(_ aMessage: String)

 

ArgumentNullException(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)

 

ArgumentNullException withError(NSError aError)

 

init(withError aError: NSError)

 

Sub New withError(aError As NSError)

Parameters:

  • aError: