* PrinterNavigation.php:
(BSPrinterNavigation::setFocus)
}
else
{
- trigger_error('Invalid key for scope');
+ throw new Exception('Invalid key for scope');
}
}
else if ($scope == 'link')
}
else
{
- trigger_error('Invalid key for scope');
+ throw new Exception('Invalid key for scope');
}
}
else
{
- trigger_error('BSPrinterNavigation::setFocus() only allows setting of focus for tab and link scopes');
+ throw new Exception('BSPrinterNavigation::setFocus() only allows setting of focus for tab and link scopes');
}
}