class MigrateException in Migrate 7.2
Same name and namespace in other branches
- 6.2 includes/exception.inc \MigrateException
@file Custom exception class for the migrate module.
Hierarchy
- class \MigrateException extends \Exception
Expanded class hierarchy of MigrateException
File
- includes/
exception.inc, line 8 - Custom exception class for the migrate module.
View source
class MigrateException extends Exception {
/**
* The level of the error being reported (a Migration::MESSAGE_* constant)
*
* @var int
*/
protected $level;
public function getLevel() {
return $this->level;
}
/**
* The status to record in the map table for the current item (a
* MigrateMap::STATUS_* constant)
*
* @var int
*/
protected $status;
public function getStatus() {
return $this->status;
}
public function __construct($message, $level = Migration::MESSAGE_ERROR, $status = MigrateMap::STATUS_FAILED) {
$this->level = $level;
$this->status = $status;
parent::__construct($message);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateException:: |
protected | property | The level of the error being reported (a Migration::MESSAGE_* constant) | |
MigrateException:: |
protected | property | The status to record in the map table for the current item (a MigrateMap::STATUS_* constant) | |
MigrateException:: |
public | function | ||
MigrateException:: |
public | function | ||
MigrateException:: |
public | function |