nn::os::ARM::SetUserExceptionHandler Function

Syntax

template <typename T>
void SetUserExceptionHandler(
     UserExceptionHandler pHandler,
     T * pStack,
     ExceptionBuffer * pExceptionBuffer
);

Template Arguments

Name Description
T Stack type.

Arguments

Name Description
in pHandler Specifies the exception handler called when an exception occurs.
in pStack Specifies the stack to use for the exception handler.
in pExceptionBuffer Specifies a buffer for storing exception information.

Return Values

None.

Description

Specifies the global exception handler.

This wrapper function is used to accept the stack used by the exception handler via a stack-type member function.

For details, see SetUserExceptionHandler(UserExceptionHandler, uptr, ExceptionBuffer*).

Revision History

2011/05/02
Modified wording to read "to the stack specified by stackBottom" rather than just "to stackBottom."
2010/09/16
Added mention that the exception handler is not called in the debug environment.
2010/08/16
Initial version.

CONFIDENTIAL