|
Synopsis
|
Parameters
Parameter |
Meaning |
exception |
Exception whose stack trace shall be returned. |
Return value
Stack trace. |
Description
Returns a dynamic string containing the stack trace (call stack) of an occurred exception. This function should be used for exception handlings only (exceptions with try- and catch-block). See also Control structures in CONTROL. |
Example |
main() { try { throw(makeError("", PRIO_SEVERE, ERR_PARAM, 54, "my_exception")); } catch { DebugN(getLastException()); DebugN(getErrorStackTrace(getLastException())); } } |
Assignment
Availability
UI, CTRL, DP |
See also
getLastError(), Error handling, getStackTrace(), Control structures in CONTROL, getLastException(), getErrorCataloge() |
V 3.11 SP1
Copyright ETM professional control GmbH 2013 All Rights Reserved