Package org.apache.commons.compress.archivers.dump

# Class InvalidFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.compress.archivers.dump.DumpArchiveException
org.apache.commons.compress.archivers.dump.InvalidFormatException

All Implemented Interfaces:
  `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 long`
  `offset`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InvalidFormatException()`
  `InvalidFormatException(long offset)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getOffset()`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### offset

    protected long offset

- ## Constructor Details

  - ### InvalidFormatException

    public InvalidFormatException()

  - ### InvalidFormatException

    public InvalidFormatException(long offset)

- ## Method Details

  - ### getOffset

    public long getOffset()