From 7f175ea87e9567817d34729dec83f7f36509b894 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 30 Mar 2010 13:18:05 -0700 Subject: Move G2_Import_Exception into libraries because it's not a helper class. --- .../g2_import/libraries/G2_Import_Exception.php | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 modules/g2_import/libraries/G2_Import_Exception.php (limited to 'modules/g2_import/libraries') diff --git a/modules/g2_import/libraries/G2_Import_Exception.php b/modules/g2_import/libraries/G2_Import_Exception.php new file mode 100644 index 00000000..591f51cd --- /dev/null +++ b/modules/g2_import/libraries/G2_Import_Exception.php @@ -0,0 +1,39 @@ +validation->errors(), true); + } + if ($previous) { + $message .= "\n" . (string) $previous; + } + // The $previous parameter is supported in PHP 5.3.0+. + parent::__construct($message); + } +} \ No newline at end of file -- cgit v1.2.3