org.semwebcentral.sweetrules.infrastructure
Class SweetWarner

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.SweetWarner

public class SweetWarner
extends java.lang.Object

A class to handle all warnings

Author:
Shashidhara K Ganjugunte, Dr. Benjamin Grosof, Dr. Said Tabet, Chitravanu Neogy, Sumit Bhansali

Field Summary
private static Logger logger
          The logger object associated with the warner
 
Constructor Summary
SweetWarner()
           
 
Method Summary
static void warn(SweetWarning warning)
          Logs a warning through log4j
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static Logger logger
The logger object associated with the warner

Constructor Detail

SweetWarner

public SweetWarner()
Method Detail

warn

public static void warn(SweetWarning warning)
Logs a warning through log4j

Parameters:
warning - The warning to be logged