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()` |

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### WXMParseException

    public WXMParseException​(java.lang.String message, java.util.List<WXMParseError> inErrors)
    Construct an exception.
    Parameters:
      `message` - The main message
      `inErrors` - The parse errors

- ## Method Details

  - ### errors

    public java.util.List<WXMParseError> errors()
    Returns:
      The parse errors