class LastZoneOwnerException extends InvalidArgumentException (View source)

Thrown when a write would leave zones without an owner, carrying the zones it would strand so the caller can name them.

Extends InvalidArgumentException so existing callers that catch that type keep working, while controllers can catch this specific type first and word the refusal for their own audience.

Constants

private LISTED

Methods

__construct(array $zones, string $message = '')

No description

array
getZones()

No description

string
getZoneList()

The zone names for a message, shortened when there are many of them.

Details

__construct(array $zones, string $message = '')

No description

Parameters

array $zones

Zone id => zone name

string $message

array getZones()

No description

Return Value

array

Zone id => zone name

string getZoneList()

The zone names for a message, shortened when there are many of them.

Return Value

string