/**
* The constructor
*
- * @param $class Class throwing the exception
- * @param $code Code number for the exception
+ * @param $helperInstance Class throwing the exception
+ * @param $code Code number for the exception
* @return void
*/
- public function __construct (BaseFrameworkSystem $class, $code) {
+ public function __construct (BaseHelper $helperInstance, $code) {
// Add a message around the missing class
$message = sprintf("[%s:%d] Form name not set.",
- $class->__toString(),
+ $helperInstance->__toString(),
$this->getLine()
);