A stack trace (also called stack backtrace or stack traceback) is a report of the active stack frames at a certain point in time during the execution of a program. When a program is run, memory is often dynamically allocated in two places; the stack and the heap.

Exception Class and Built-In Exceptions

Common Exception Methods

Name                 | Return Type   | Description
getStackTraceString  | String        | Returns the stack trace as a string.