Package com.io7m.jspiel.api
Class RiffParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.jspiel.api.RiffException
com.io7m.jspiel.api.RiffParseException
- All Implemented Interfaces:
Serializable
The type of exceptions thrown by parsers.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRiffParseException(String message, Throwable cause, URI in_source, long in_offset) Construct an exception.RiffParseException(String message, URI in_source, long in_offset) Construct an exception.RiffParseException(Throwable cause, URI in_source, long in_offset) Construct an exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RiffParseException
Construct an exception.- Parameters:
message- The messagein_offset- The offset in octets within the input that caused the errorin_source- The source URI
-
RiffParseException
Construct an exception.- Parameters:
message- The messagecause- The underlying causein_offset- The offset in octets within the input that caused the errorin_source- The source URI
-
RiffParseException
Construct an exception.- Parameters:
cause- The underlying causein_offset- The offset in octets within the input that caused the errorin_source- The source URI
-
-
Method Details
-
source
- Returns:
- The source URI
-
offset
public long offset()- Returns:
- The offset in octets within the input that caused the error
-