org.jomc.tools
Class JomcTool.Listener

Package class diagram package JomcTool.Listener
java.lang.Object
  extended by org.jomc.tools.JomcTool.Listener
Enclosing class:
JomcTool

public abstract static class JomcTool.Listener
extends Object

Listener interface.


Constructor Summary
JomcTool.Listener()
          Creates a new Listener instance.
 
Method Summary
 void onLog(Level level, String message, Throwable throwable)
          Gets called on logging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JomcTool.Listener

public JomcTool.Listener()
Creates a new Listener instance.

Method Detail

onLog

public void onLog(Level level,
                  String message,
                  Throwable throwable)
Gets called on logging.

Parameters:
level - The level of the event.
message - The message of the event or null.
throwable - The throwable of the event or null.
Throws:
NullPointerException - if level is null.


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.