jmri.configurexml
Class ErrorHandler

java.lang.Object
  extended by jmri.configurexml.ErrorHandler
Direct Known Subclasses:
DialogErrorHandler

public class ErrorHandler
extends Object

Default operation for reporting errors while loading.

Author:
Bob Jacobsen Copyright (c) 2010

Constructor Summary
ErrorHandler()
           
 
Method Summary
 void done()
          Invoked when operation complete.
 void handle(ErrorMemo e)
          Handle an error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandler

public ErrorHandler()
Method Detail

handle

public void handle(ErrorMemo e)
Handle an error.

Default implementation formats and puts in log.


done

public void done()
Invoked when operation complete.

Default implementation doesn't do anything here, everything already logged above.



Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads