TarException class final

An exception indicating that there was an issue parsing a .tar file.

The message contains reported from this exception contains details on the location of the parsing error.

This is the only exception that should be thrown by the tar package. Other exceptions are either a bug in this package or errors thrown as a response to API misuse.

Inheritance

Constructors

TarException(String message)
TarException.header(String message)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A message describing the format error.
finalinherited
offset int?
The offset in source where the error was detected.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source → dynamic
The actual source input which caused the error.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a description of the format exception.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited