@Mennatarek ContextErrorException(), you can find its solution here http://stackoverflow.com/questions/1809404/get-exception-context-in-php :)