|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.parser.impl.yylex.IYylexObserver.LogObserver
public static class IYylexObserver.LogObserver
Default implementation of the IYylexObserver logging everything into AgentLogger.platform() log category.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface cz.cuni.amis.pogamut.base.communication.parser.impl.yylex.IYylexObserver |
---|
IYylexObserver.LogObserver |
Constructor Summary | |
---|---|
IYylexObserver.LogObserver(IAgentLogger agentLogger)
|
Method Summary | |
---|---|
void |
exception(java.lang.Exception e,
java.lang.String info)
Called whenever exception occures in the Yylex caused by OUR miscoding. |
void |
warning(java.lang.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 |
Constructor Detail |
---|
@Inject public IYylexObserver.LogObserver(IAgentLogger agentLogger)
Method Detail |
---|
public void exception(java.lang.Exception e, java.lang.String info)
IYylexObserver
exception
in interface IYylexObserver
e
- never nullinfo
- never nullpublic void warning(java.lang.String info)
IYylexObserver
warning
in interface IYylexObserver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |