first import
This commit is contained in:
18
sites/all/modules/migrate/includes/exception.inc
Normal file
18
sites/all/modules/migrate/includes/exception.inc
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Custom exception class for the migrate module.
|
||||
*/
|
||||
|
||||
class MigrateException extends Exception {
|
||||
protected $level;
|
||||
public function getLevel() {
|
||||
return $this->level;
|
||||
}
|
||||
|
||||
public function __construct($message, $level = Migration::MESSAGE_ERROR) {
|
||||
$this->level = $level;
|
||||
parent::__construct($message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user