Product Information > JADE Object Manager Guide > Chapter 3 - JADE Application Programming Interface (API) > pException

pException

The pException parameter specifies the exception that is to be handled.

The exception handling exception algorithm looks for an exception handler that can handle this exception instance. The search starts at the current method and proceeds with all the methods in the stack until it reaches the outermost method.

If no method level handler is found, the search continues with the existing global exception handlers. If no handler is found, the defaultHandler message is sent to the exception instance.

When the handler execution finishes, the exception instance is automatically deleted by the kernel. Execution of nested exception handlers is allowed, as long as the new exception error code is different from that of the exception that is already being processed.