diff --git a/src/lib/PreCommit/Validator/CodingStandardMagento.php b/src/lib/PreCommit/Validator/CodingStandardMagento.php index e4632d8..c2d910f 100644 --- a/src/lib/PreCommit/Validator/CodingStandardMagento.php +++ b/src/lib/PreCommit/Validator/CodingStandardMagento.php @@ -25,7 +25,7 @@ class CodingStandardMagento extends CodingStandard */ protected $errorMessages = array( - self::CODE_PHP_DEPRECATED_THROW_EXCEPTION => 'Used deprecated method Mage::throwException(). Use: throw new Mage_Core_Exception("Translated message.")', + self::CODE_PHP_DEPRECATED_THROW_EXCEPTION => 'Used deprecated method Mage::throwException(). Use: throw new Your_Module_Exception(\'Your message.\')', ); /**