- All Implemented Interfaces:
Serializable
- Enclosing class:
EitherParser<C,U,V>
public static final class EitherParser.EitherParseException
extends ParserException
Exception thrown when both the primary and fallback parsers fail to parse the input.
- See Also:
-
-
Method Summary
Returns the throwable thrown by the fallback parser.
Returns the type produced by the fallback parser.
Returns the throwable thrown by the primary parser.
Returns the type produced by the primary parser.
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
primaryFailure
Returns the throwable thrown by the primary parser.
- Returns:
- primary failure
-
fallbackFailure
Returns the throwable thrown by the fallback parser.
- Returns:
- fallback failure
-
primaryType
Returns the type produced by the primary parser.
- Returns:
- primary type
-
fallbackType
Returns the type produced by the fallback parser.
- Returns:
- fallback type