sk.uniba.euromath.gene.messages
Class ErrorListenerAdapter
java.lang.Object
sk.uniba.euromath.gene.messages.ErrorListenerAdapter
- All Implemented Interfaces:
- ErrorListener
public class ErrorListenerAdapter
- extends Object
- implements ErrorListener
Adapts the Messages
instance to the ErrorListener
interface. When fatal error occurs, the exception is simply thrown.
- Author:
- Martin Vysny
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messages
public final Messages messages
- Here all messages are stored.
ErrorListenerAdapter
public ErrorListenerAdapter(Messages messages)
- Constructor.
- Parameters:
messages
- Here all messages are stored.
warning
public void warning(TransformerException exception)
throws TransformerException
- Specified by:
warning
in interface ErrorListener
- Throws:
TransformerException
error
public void error(TransformerException exception)
throws TransformerException
- Specified by:
error
in interface ErrorListener
- Throws:
TransformerException
fatalError
public void fatalError(TransformerException exception)
throws TransformerException
- Specified by:
fatalError
in interface ErrorListener
- Throws:
TransformerException
Copyright 2003-2003-2006 null. All Rights Reserved.