Class TransformerLoggingForwarder
- java.lang.Object
-
- com.levigo.jadice.server.core.util.logging.TransformerLoggingForwarder
-
- All Implemented Interfaces:
ErrorListener
public class TransformerLoggingForwarder extends Object implements ErrorListener
Forwards events from aErrorListener
to theWorkerController
(i.eNodeWorker
) and the Apache Commons Logging Framework.It is strongly recommended to add an instance of this class to any
Transformer
viaTransformer.setErrorListener(ErrorListener)
.- Since:
- jadice server 4.3.1.2
-
-
Constructor Summary
Constructors Constructor Description TransformerLoggingForwarder(QualifiedLogEventReceiver delegate, org.jadice.util.log.qualified.MessageID messageId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(TransformerException exception)
void
fatalError(TransformerException exception)
void
warning(TransformerException exception)
-
-
-
Constructor Detail
-
TransformerLoggingForwarder
public TransformerLoggingForwarder(QualifiedLogEventReceiver delegate, org.jadice.util.log.qualified.MessageID messageId)
-
-
Method Detail
-
error
public void error(TransformerException exception) throws TransformerException
- Specified by:
error
in interfaceErrorListener
- Throws:
TransformerException
-
fatalError
public void fatalError(TransformerException exception) throws TransformerException
- Specified by:
fatalError
in interfaceErrorListener
- Throws:
TransformerException
-
warning
public void warning(TransformerException exception) throws TransformerException
- Specified by:
warning
in interfaceErrorListener
- Throws:
TransformerException
-
-