|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.pangaea.metadataportal.utils.LoggingErrorListener
public final class LoggingErrorListener
Helper class to correctly log TransformerExceptions with Commons Logging.
| Constructor Summary | |
|---|---|
LoggingErrorListener(Class c)
A error listener using the supplied class name as log target. |
|
LoggingErrorListener(org.apache.commons.logging.Log log)
A error listener using the supplied Commons Logging instance as log target. |
|
| Method Summary | |
|---|---|
void |
error(TransformerException e)
Just throws e. |
void |
fatalError(TransformerException e)
Just throws e. |
void |
warning(TransformerException e)
Logs message and location with WARN method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingErrorListener(org.apache.commons.logging.Log log)
public LoggingErrorListener(Class c)
| Method Detail |
|---|
public void error(TransformerException e)
throws TransformerException
e.
error in interface ErrorListenerTransformerException
public void fatalError(TransformerException e)
throws TransformerException
e.
fatalError in interface ErrorListenerTransformerException
public void warning(TransformerException e)
throws TransformerException
warning in interface ErrorListenerTransformerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||