I have updated the php version in my cakephp 2.5 application, here what i see the exception is not working in my application.
haven't get any solution yet to try anything
if (count($suborgs)== 0) {
throw new InternalErrorException("User ".$user['id']." does not have suborgs and only have PRINCIPAL scope"); }
Exception should work for me