Class LoggingThinlet

java.lang.Object
java.awt.Component
java.awt.Container
thinlet.Thinlet
thinletcommons.LoggingThinlet
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Runnable
Direct Known Subclasses:
AntiAliasedThinlet

public class LoggingThinlet extends thinlet.Thinlet
A Thinlet component that logs exceptions to the JDK logging facility.
Author:
Dirk Moebius
See Also:
  • Constructor Details

    • LoggingThinlet

      public LoggingThinlet()
  • Method Details

    • handleException

      protected void handleException(Throwable throwable)
      Log exceptions to a logger named "thinletcommons" with log level SEVERE.
      Overrides:
      handleException in class thinlet.Thinlet
      Parameters:
      throwable - the thrown exception by the bussiness logic