org.riotfamily.website.hyphenate
Class RiotLogErrorHandler

java.lang.Object
  extended by org.riotfamily.website.hyphenate.RiotLogErrorHandler
All Implemented Interfaces:
net.davidashen.util.ErrorHandler

public class RiotLogErrorHandler
extends Object
implements net.davidashen.util.ErrorHandler


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.davidashen.util.ErrorHandler
net.davidashen.util.ErrorHandler.NotSetException
 
Field Summary
 
Fields inherited from interface net.davidashen.util.ErrorHandler
DEFAULT
 
Constructor Summary
RiotLogErrorHandler(RiotLog log)
           
RiotLogErrorHandler(String fileName)
           
 
Method Summary
 void debug(String guard, String s)
           
 void error(String s)
           
 void exception(String s, Exception e)
           
 void info(String s)
           
 boolean isDebugged(String guard)
           
 void warning(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiotLogErrorHandler

public RiotLogErrorHandler(String fileName)

RiotLogErrorHandler

public RiotLogErrorHandler(RiotLog log)
Method Detail

isDebugged

public boolean isDebugged(String guard)
Specified by:
isDebugged in interface net.davidashen.util.ErrorHandler

debug

public void debug(String guard,
                  String s)
Specified by:
debug in interface net.davidashen.util.ErrorHandler

error

public void error(String s)
Specified by:
error in interface net.davidashen.util.ErrorHandler

exception

public void exception(String s,
                      Exception e)
Specified by:
exception in interface net.davidashen.util.ErrorHandler

info

public void info(String s)
Specified by:
info in interface net.davidashen.util.ErrorHandler

warning

public void warning(String s)
Specified by:
warning in interface net.davidashen.util.ErrorHandler