Exception Handling and Logging

We provide exception handling mechanism which should be useful in case of potential problems with connection to server/database or some configuration errors. Each exception contains easy-to-understand error message in following format:

*** Totem Database Access Service Error ***
Information: methodThatFailed : Information about what happend
Reason: Why the problem appeared
Solution: What should I do to resolve the problem
********************************************

Important note: most of typical exceptions are handled, but sometimes you might obtain “the unknown exception” with following message:

*** Totem Database Access Service Error ***
Information: methodThatFailed: The unknown exception was thrown
Solution: Find more information about the exception in log file
********************************************

There is also log directory, located in your workspace directory. It contains logs, gathered from your applications using Tudas library and appended to file tudas_java.log, tudas_python.log or tudas_cpp.log (in dependence from programming language you use). The detailed information about exception is stored here (and it is mainly Java stack trace). If you experience any strange problems, please send us this file.

CMSSW logger: In CMSSW, all logs are saved in CMSSW_4_2_4/src/TotemUnifiedDatabaseAccessService/Tudas/log/client.logfile.

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2012-09-11 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TOTEM All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback