Overview

Throw when serialization errors occur.

Location

constructor


constructor (not nullable String)

constructor(aMessage: not nullable String)
SerializationException(String! aMessage)
SerializationException(String aMessage)
Sub New(aMessage As String)

Parameters:

  • aMessage:

constructor(aMessage: not nullable String; aException: not nullable Exception)
SerializationException(String! aMessage, Exception! aException)
init(_ aMessage: String, _ aException: Exception)
SerializationException(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    (declared in Exception)

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)


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
func GetHashCode() -> Int32
Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

Function GetType() As Type

InnerException  virtual    (declared in Exception)

property InnerException: nullable Exception read;
Exception? InnerException { get; }
var InnerException: Exception? { get{} }
Exception InnerException { __get; }
ReadOnly Property InnerException() As Exception?

Message  virtual    (declared in Exception)

Exception message.

property Message: not nullable String read;
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    (declared in Exception)

Gets a string representation of this exception.

func ToString() -> String
Function ToString() As String

ExceptionAddress    (declared in Exception)

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    (declared in Exception)

property InnerException: nullable Exception read;
Exception? InnerException { get; }
var InnerException: Exception? { get{} }
Exception InnerException { __get; }
ReadOnly Property InnerException() As Exception?

Message  virtual    (declared in Exception)

Exception message.

property Message: not nullable String read;
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 (not nullable String)

constructor(aMessage: not nullable String)
SerializationException(String! aMessage)
SerializationException(String aMessage)
Sub New(aMessage As String)

Parameters:

  • aMessage:

constructor(aMessage: not nullable String; aException: not nullable Exception)
SerializationException(String! aMessage, Exception! aException)
init(_ aMessage: String, _ aException: Exception)
SerializationException(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)


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
func GetHashCode() -> Int32
Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

Function GetType() As Type

ToString  override virtual    (declared in Exception)

Gets a string representation of this exception.

func ToString() -> String
Function ToString() As String