Programmers Guide > Logging and Debugging

Logging and Debugging

JOT Exceptions are logged with the precise line number from the JOT Template and the context of the JOT Token where the exception occurred.

Logging Exceptions:

JotServletBean objects provide a log(message) method and a log(Throwable) method. Uncaught exceptions are logged automatically (see Default Error Handling).

SendStackTrace:

When the JOT Servlet SendStackTrace initialization parameter is true, the full exception stack trace is returned in the client response (see Default Error Handling). This flag is useful for testing and debugging.

© 2008 JOT Object Technologies