Class RiffParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class RiffParseException
    extends RiffException
    The type of exceptions thrown by parsers.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RiffParseException​(java.lang.String message, java.lang.Throwable cause, java.net.URI in_source, long in_offset)
      Construct an exception.
      RiffParseException​(java.lang.String message, java.net.URI in_source, long in_offset)
      Construct an exception.
      RiffParseException​(java.lang.Throwable cause, java.net.URI in_source, long in_offset)
      Construct an exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long offset()  
      java.net.URI source()  
      • 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 Detail

      • RiffParseException

        public RiffParseException​(java.lang.String message,
                                  java.net.URI in_source,
                                  long in_offset)
        Construct an exception.
        Parameters:
        message - The message
        in_offset - The offset in octets within the input that caused the error
        in_source - The source URI
      • RiffParseException

        public RiffParseException​(java.lang.String message,
                                  java.lang.Throwable cause,
                                  java.net.URI in_source,
                                  long in_offset)
        Construct an exception.
        Parameters:
        message - The message
        cause - The underlying cause
        in_offset - The offset in octets within the input that caused the error
        in_source - The source URI
      • RiffParseException

        public RiffParseException​(java.lang.Throwable cause,
                                  java.net.URI in_source,
                                  long in_offset)
        Construct an exception.
        Parameters:
        cause - The underlying cause
        in_offset - The offset in octets within the input that caused the error
        in_source - The source URI
    • Method Detail

      • source

        public java.net.URI source()
        Returns:
        The source URI
      • offset

        public long offset()
        Returns:
        The offset in octets within the input that caused the error