PostNuke Help

Previous
pnExceptionId

Home
up

Next
pnExceptionSet


pnExceptionMajor

return current exception major number

Synopsis

int pnExceptionMajor();

Description

pnExceptionMajor() allows the caller to establish whether an exception was raised, and to get the type of raised exception. The major PN_NO_EXCEPTION identifies the state in which no exception was raised.

Return Values

This function returns one of these values: PN_NO_EXCEPTION, PN_USER_EXCEPTION or PN_SYSTEM_EXCEPTION.

See Also

pnExceptionFree(), pnExceptionId(), pnExceptionSet(), pnExceptionValue()


Previous
pnExceptionId

Home
up

Next
pnExceptionSet