MigrateException
class MigrateException extends Exception (View source)
Defines the migrate exception class.
Properties
| protected int | $level | The level of the error being reported. |
|
| protected int | $status | The status to record in the map table for the current item. |
Methods
__construct(string $message = '', int $code = 0, Exception $previous = NULL, int $level = MigrationInterface::MESSAGE_ERROR, int $status = MigrateIdMapInterface::STATUS_FAILED)
Constructs a MigrateException object.
int
getLevel()
Gets the level.
int
getStatus()
Gets the status of the current item.
Details
__construct(string $message = '', int $code = 0, Exception $previous = NULL, int $level = MigrationInterface::MESSAGE_ERROR, int $status = MigrateIdMapInterface::STATUS_FAILED)
Constructs a MigrateException object.
int
getLevel()
Gets the level.
int
getStatus()
Gets the status of the current item.