Class InvalidFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.commons.compress.CompressException
-
- org.apache.commons.compress.archivers.ArchiveException
-
- org.apache.commons.compress.archivers.dump.DumpArchiveException
-
- org.apache.commons.compress.archivers.dump.InvalidFormatException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidFormatException extends DumpArchiveException
Invalid Format Exception. There was an error decoding a tape segment header.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected longoffsetThe offset where the problem was detected.
-
Constructor Summary
Constructors Constructor Description InvalidFormatException()Constructs aInvalidFormatException.InvalidFormatException(long offset)Constructs aInvalidFormatException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetOffset()Gets the offset where the problem was detected.-
Methods inherited from class org.apache.commons.compress.archivers.ArchiveException
requireNonNull
-
Methods inherited from class org.apache.commons.compress.CompressException
requireNonNull
-
-
-
-
Field Detail
-
offset
protected long offset
The offset where the problem was detected.
-
-
Constructor Detail
-
InvalidFormatException
public InvalidFormatException()
Constructs aInvalidFormatException.
-
InvalidFormatException
public InvalidFormatException(long offset)
Constructs aInvalidFormatException.- Parameters:
offset- offset where the problem was detected.
-
-
Method Detail
-
getOffset
public long getOffset()
Gets the offset where the problem was detected.- Returns:
- the offset where the problem was detected.
-
-