Exception

Overview

Base class for exceptions in Island.

Location


 

constructor

 

constructor

 

Exception()

 

init()

 

Exception()

 

Sub New()

constructor (not nullable String)

Constructor.

 

constructor(aMessage: not nullable String)

 

Exception(String! aMessage)

 

init(_ aMessage: String)

 

Exception(String aMessage)

 

Sub New(aMessage As String)

Parameters:

  • aMessage: Message to show when reading this exception.

constructor (not nullable String, not nullable Exception)

 

constructor(aMessage: not nullable String; aException: not nullable Exception)

 

Exception(String! aMessage, Exception! aException)

 

init(_ aMessage: String, _ aException: Exception)

 

Exception(String aMessage, Exception aException)

 

Sub New(aMessage As String, aException As Exception)

Parameters:

  • aMessage:
  • aException:

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

ExceptionAddress

Address where it occured. Set by the exception triggering code.

 

property ExceptionAddress: ^void read write;

 

void* ExceptionAddress { get; set; }

 

var ExceptionAddress: UnsafeMutablePointer<void> { get{} set{} }

 

void* ExceptionAddress { __get; __set; }

 

Property ExceptionAddress() As Ptr(Of Void)

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

InnerException  virtual

 

property InnerException: nullable Exception read;

 

Exception? InnerException { get; }

 

var InnerException: Exception? { get{} }

 

Exception InnerException { __get; }

 

ReadOnly Property InnerException() As Exception?

Message  virtual

Exception message.

 

property Message: not nullable String read;

 

String! Message { get; }

 

var Message: String { get{} }

 

String Message { __get; }

 

ReadOnly Property Message() As String

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

ToString  override virtual

Gets a string representation of this exception.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

 

ExceptionAddress

Address where it occured. Set by the exception triggering code.

 

property ExceptionAddress: ^void read write;

 

void* ExceptionAddress { get; set; }

 

var ExceptionAddress: UnsafeMutablePointer<void> { get{} set{} }

 

void* ExceptionAddress { __get; __set; }

 

Property ExceptionAddress() As Ptr(Of Void)

InnerException  virtual

 

property InnerException: nullable Exception read;

 

Exception? InnerException { get; }

 

var InnerException: Exception? { get{} }

 

Exception InnerException { __get; }

 

ReadOnly Property InnerException() As Exception?

Message  virtual

Exception message.

 

property Message: not nullable String read;

 

String! Message { get; }

 

var Message: String { get{} }

 

String Message { __get; }

 

ReadOnly Property Message() As String

 

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

 

constructor

 

constructor

 

Exception()

 

init()

 

Exception()

 

Sub New()

constructor (not nullable String)

Constructor.

 

constructor(aMessage: not nullable String)

 

Exception(String! aMessage)

 

init(_ aMessage: String)

 

Exception(String aMessage)

 

Sub New(aMessage As String)

Parameters:

  • aMessage: Message to show when reading this exception.

constructor (not nullable String, not nullable Exception)

 

constructor(aMessage: not nullable String; aException: not nullable Exception)

 

Exception(String! aMessage, Exception! aException)

 

init(_ aMessage: String, _ aException: Exception)

 

Exception(String aMessage, Exception aException)

 

Sub New(aMessage As String, aException As Exception)

Parameters:

  • aMessage:
  • aException:

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

ToString  override virtual

Gets a string representation of this exception.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String