class ExceptionHandlerIterator
Defined at line 73 of file ../../zircon/kernel/object/exception.cc
This isn't an "iterator" in the pure c++ sense. We don't need all that
complexity. I just couldn't think of a better term.
Exception handlers are tried in the following order:
- debugger
- thread
- process
- debugger (in dealing with a second-chance exception)
- job (first owning job, then its parent job, and so on up to root job)
Public Methods
void ExceptionHandlerIterator (ThreadDispatcher * thread, fbl::RefPtr<ExceptionDispatcher> exception)
Defined at line 75 of file ../../zircon/kernel/object/exception.cc
bool Next (zx_status_t * result)
Sends the exception to the next registered handler, starting with
ZX_EXCEPTION_CHANNEL_TYPE_DEBUGGER (the process debug channel) on the first
call.
Returns true with and fills |result| if the exception was sent to a
handler, or returns false if there are no more to try. Do not call this
function again after it returns false.
Defined at line 86 of file ../../zircon/kernel/object/exception.cc