shadow:standard

Exception Exception

Parent class

shadow:standard@Object

exception Exception

Exception is the parent type of all exceptions.

Create Summary

Modifiers Return Types Method and Description
public () create()

Creates an Exception with no message.

public () create(String message)

Creates an Exception with an explanatory message.

Destroy Summary

Modifiers Return Types Method and Description
public () destroy()

Method Summary

Modifiers Return Types Method and Description
public readonly (Exception) copy(AddressMap addresses)
public readonly (String) toString()

Returns a String representation of the exception, incorporating the exception's message if present.

Property Summary

Modifiers Return Types Method and Description
public readonly get (immutable String) message()

Create Detail

create

public create() => ()

Creates an Exception with no message.

create

public create(String message) => ()

Creates an Exception with an explanatory message.

Parameters

message - message explaining the exception

Destroy Detail

destroy

public destroy() => ()

Method Detail

copy

public readonly copy(AddressMap addresses) => (Exception)

toString

public readonly toString() => (String)

Returns a String representation of the exception, incorporating the exception's message if present.

Returns

String representation of the exception

Property Detail

message

public readonly get message() => (immutable String)