Stack Trace

A report showing the active method calls at the point an error occurred.

What is Stack Trace in Java?

Stack Trace — A report showing the active method calls at the point an error occurred.

class ErrorInspector {
    StackTraceElement firstCall(Exception error) {
        StackTraceElement[] calls = error.getStackTrace();
        return calls[0];
    }
}

Level: Journeyman · More Java terms at this level

Updated

In other subjects