jfun.parsec
public interface Catch<T> extends Serializable
| Method Summary | |
|---|---|
| Parser<T> | catchException(Object v, Object e)
in case of a pseudo-exception e happens, user can specify what Parser to use. |
Parameters: v the return value of the exceptional parser. e the exception thrown.
Returns: the new Parser object.