yes, but please throw an exception before that.
examples are e.g. in the serviceController at transitiveclosureAction()
...
// fetch start resource parameter
if (isset($this->_request->sr)) {
$resource = $this->_request->getParam('sr', null, true);
} else {
require_once 'OntoWiki/Exception.php';
throw new OntoWiki_Exception('Missing parameter sr (start resource)!');
exit;
}
regards
SD
--
Sebastian Dietzold - Department of Computer Science; University of Leipzig
Tel/Fax: +49 341 97 323-66/-29 http://bis.uni-leipzig.de/SebastianDietzold