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:
Serializable
Invalid Format Exception. There was an error decoding a tape segment header.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longThe offset where the problem was detected. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aInvalidFormatException.InvalidFormatException(long offset) Constructs aInvalidFormatException. -
Method Summary
Modifier and TypeMethodDescriptionlongGets the offset where the problem was detected.Methods inherited from class ArchiveException
requireNonNullMethods inherited from class CompressException
requireNonNullMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
offset
The offset where the problem was detected.
-
-
Constructor Details
-
InvalidFormatException
public InvalidFormatException()Constructs aInvalidFormatException. -
InvalidFormatException
Constructs aInvalidFormatException.- Parameters:
offset- offset where the problem was detected.
-
-
Method Details
-
getOffset
Gets the offset where the problem was detected.- Returns:
- the offset where the problem was detected.
-