com.io7m.smfj.parser.api

## Interface SMFParseErrorType

- All Superinterfaces:
    SMFErrorType
  All Known Implementing Classes:
    SMFParseError

      public interface SMFParseErrorType
      extends SMFErrorType

  The type of parse errors.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<Exception>` | `exception()`
    `default String` | `fullMessage()`
    `com.io7m.jlexing.core.LexicalPosition<URI>` | `lexical()`
    `String` | `message()`

- - ### Method Detail

    - #### lexical

          com.io7m.jlexing.core.LexicalPosition<URI> lexical()

      Returns:
        Lexical information

    - #### message

          String message()

      Specified by:
        `message` in interface `SMFErrorType`
      Returns:
        The error message

    - #### exception

          Optional<Exception> exception()

      Specified by:
        `exception` in interface `SMFErrorType`
      Returns:
        The exception raised, if any

    - #### fullMessage

          default String fullMessage()

      Specified by:
        `fullMessage` in interface `SMFErrorType`
      Returns:
        A humanly-readable formatted error message

Copyright © 2017 <code@io7m.com> http://io7m.com