Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getOffset()
      Gets the offset where the problem was detected.
      • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidFormatException

        public InvalidFormatException()
        Constructs a InvalidFormatException.
      • InvalidFormatException

        public InvalidFormatException​(long offset)
        Constructs a InvalidFormatException.
        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.