|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webmacro.engine.CrankyEvaluationExceptionHandler
CrankyEvaluationExceptionHandler An implementation of EvaluationExceptionHandler which throws an exception whenever it is called. This will generally cause the exception to be displayed to the user -- useful for debugging.
Constructor Summary | |
CrankyEvaluationExceptionHandler()
|
|
CrankyEvaluationExceptionHandler(Broker b)
|
Method Summary | |
java.lang.String |
errorString(java.lang.String errorText)
|
void |
evaluate(Variable variable,
Context context,
java.lang.Exception problem)
When an exception is detected in the process of evaluating a variable reference, this method is consulted. |
java.lang.String |
expand(Variable variable,
Context context,
java.lang.Exception problem)
When an exception is detected in the process of expanding (writing) a variable reference, this method is consulted. |
void |
init(Broker b,
Settings config)
Initialize the EEH |
java.lang.String |
warningString(java.lang.String warningText)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CrankyEvaluationExceptionHandler()
public CrankyEvaluationExceptionHandler(Broker b)
Method Detail |
public void init(Broker b, Settings config)
EvaluationExceptionHandler
init
in interface EvaluationExceptionHandler
public void evaluate(Variable variable, Context context, java.lang.Exception problem) throws PropertyException
EvaluationExceptionHandler
evaluate
in interface EvaluationExceptionHandler
PropertyException
public java.lang.String expand(Variable variable, Context context, java.lang.Exception problem) throws PropertyException
EvaluationExceptionHandler
expand
in interface EvaluationExceptionHandler
PropertyException
public java.lang.String warningString(java.lang.String warningText) throws PropertyException
warningString
in interface EvaluationExceptionHandler
PropertyException
public java.lang.String errorString(java.lang.String errorText) throws PropertyException
errorString
in interface EvaluationExceptionHandler
PropertyException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |