shadow:utility

Exception NoSuchElementException

Parent class

shadow:standard@Exception

exception NoSuchElementException

Exception NoSuchElementException should be thrown when an operation that requires a particular element to exist is attempted yet no such element exists. This exception is commonly thrown when a collection is empty and a method attempts to manipulate its elements.

Create Summary

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

Creates a NoSuchElementException with no message.

public () create(String message)

Creates a NoSuchElementException with a message.

Destroy Summary

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

Method Summary

Modifiers Return Types Method and Description
public readonly (NoSuchElementException) copy(AddressMap addresses)

Create Detail

create

public create() => ()

Creates a NoSuchElementException with no message.

create

public create(String message) => ()

Creates a NoSuchElementException with a message.

Parameters

message - message explaining what caused the exception

Destroy Detail

destroy

public destroy() => ()

Method Detail

copy

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