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.private static final long -
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 org.apache.commons.compress.archivers.ArchiveException
requireNonNullMethods inherited from class org.apache.commons.compress.CompressException
requireNonNullMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
offset
protected long offsetThe offset where the problem was detected.
-
-
Constructor Details
-
InvalidFormatException
public InvalidFormatException()Constructs aInvalidFormatException. -
InvalidFormatException
public InvalidFormatException(long offset) Constructs aInvalidFormatException.- Parameters:
offset- offset where the problem was detected.
-
-
Method Details
-
getOffset
public long getOffset()Gets the offset where the problem was detected.- Returns:
- the offset where the problem was detected.
-