non security modules update
This commit is contained in:
@@ -6,13 +6,30 @@
|
||||
*/
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
public function __construct($message, $level = Migration::MESSAGE_ERROR) {
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user