JavaScript is disabled on your browser.
java.lang.Object
cz.cuni.amis.pogamut.base.communication.parser.impl.yylex.IYylexObserver.LogObserver
Method Summary
Methods
Modifier and Type
Method and Description
void
exception (Exception e,
String info)
Called whenever exception occures in the Yylex caused by OUR miscoding.
void
warning (String info)
Called when some mischief happens but the parser recovers.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
exception
public void exception(Exception e,
String info)
Called whenever exception occures in the Yylex caused by OUR miscoding.
(Note that we're not hacking Yylex code to report all it's exceptions
through this observer - we will call this observer only from our
parts of the code from yylex.java)
Specified by:
exception
in interface IYylexObserver
Parameters: e
- never nullinfo
- never null
warning
public void warning(String info)
Called when some mischief happens but the parser recovers. (Like
wrong parsing of the message, skipping to next...)
Specified by:
warning
in interface IYylexObserver
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic . All Rights Reserved.