Package com.io7m.waxmill.parser.api
Class WXMParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.waxmill.exceptions.WXMException
com.io7m.waxmill.parser.api.WXMParseException
- All Implemented Interfaces:
java.io.Serializable
public final class WXMParseException extends WXMException
An exception due to parse errors.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description WXMParseException(java.lang.String message, java.util.List<WXMParseError> inErrors)Construct an exception. -
Method Summary
Modifier and Type Method Description java.util.List<WXMParseError>errors()
-
Constructor Details
-
WXMParseException
Construct an exception.- Parameters:
message- The main messageinErrors- The parse errors
-
-
Method Details
-
errors
- Returns:
- The parse errors
-