You are here

exception.inc in Migrate 6.2

Same filename and directory in other branches
  1. 7.2 includes/exception.inc

Custom exception class for the migrate module.

File

includes/exception.inc
View source
<?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);
  }

}

Classes

Namesort descending Description
MigrateException @file Custom exception class for the migrate module.