class MigrateSkipRowException extends Exception (View source)

This exception is thrown when a row should be skipped.

Properties

protected bool $saveToMap

Whether to record the skip in the map table, or skip silently.

Methods

__construct(string $message = '', bool $save_to_map = TRUE)

Constructs a MigrateSkipRowException object.

bool
getSaveToMap()

Whether the thrower wants to record this skip in the map table.

Details

__construct(string $message = '', bool $save_to_map = TRUE)

Constructs a MigrateSkipRowException object.

Parameters

string $message

The message for the exception.

bool $save_to_map

TRUE to record as STATUS_IGNORED in the map, FALSE to skip silently.

bool getSaveToMap()

Whether the thrower wants to record this skip in the map table.

Return Value

bool

TRUE to record as STATUS_IGNORED in the map, FALSE to skip silently.