The error handling in CQ is done by specifying the error jsp as explained in article - http://helpx.adobe.com/cq/kb/CustomErrorHandling.html . This will take care of any exceptions/ errors occurring in your CQ application. However you may want to handle it differently for exceptions occurring in components, the error handling can be done at either component level or on page level by including this error jsp at relevant location/component jsp [