Class GFFErrorHandler.AbortErrorHandler

    • Constructor Detail

      • AbortErrorHandler

        public AbortErrorHandler()
    • Method Detail

      • invalidStart

        public int invalidStart​(java.lang.String token)
                         throws ParserException
        Description copied from interface: GFFErrorHandler
        The `start' field of the GFF entry was not a valid value.
        Specified by:
        invalidStart in interface GFFErrorHandler
        Parameters:
        token - The start token found.
        Returns:
        A parsed value, if this is possible
        Throws:
        ParserException - If parsing should be aborted
      • invalidEnd

        public int invalidEnd​(java.lang.String token)
                       throws ParserException
        Description copied from interface: GFFErrorHandler
        The `end' field of the GFF entry was not a valid value.
        Specified by:
        invalidEnd in interface GFFErrorHandler
        Parameters:
        token - The end token found.
        Returns:
        A parsed value, if this is possible
        Throws:
        ParserException - If parsing should be aborted
      • invalidScore

        public double invalidScore​(java.lang.String token)
                            throws ParserException
        Description copied from interface: GFFErrorHandler
        The `score' field of the GFF entry was not a valid value.
        Specified by:
        invalidScore in interface GFFErrorHandler
        Parameters:
        token - The score token found.
        Returns:
        A parsed value, if this is possible
        Throws:
        ParserException - If parsing should be aborted
      • invalidFrame

        public int invalidFrame​(java.lang.String token)
                         throws ParserException
        Description copied from interface: GFFErrorHandler
        The `frame' field of the GFF entry was not a valid value.
        Specified by:
        invalidFrame in interface GFFErrorHandler
        Parameters:
        token - The frame token found.
        Returns:
        A parsed value, if this is possible
        Throws:
        ParserException - If parsing should be aborted