When in a page triggered by an exception, what vulnerabilities is a php page open to?
I am using Kohana and am used to triggering exceptions (404, runtimes, etc)
But I recently read a book (19 Sins in Software Security) that says a site in an unstable state(i.e. in an page triggered by exception) is open to critical attacks.
I am worried because most of the time I am throwing 404 exceptions if a page is not allowed to be accessed or another exception if parameters passed to functions are not of the expected type.