Class BadFormatException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    BadMagicNumberException, BadVersionException

    public class BadFormatException
    extends java.io.IOException
    Exception thrown when a format-error is detected when reading a graph (e.g., non-matching check bytes).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BadFormatException()  
      BadFormatException​(java.lang.String message)
      Create a new format exception with the given message.
    • Method Summary

      • 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
    • Constructor Detail

      • BadFormatException

        public BadFormatException()
      • BadFormatException

        public BadFormatException​(java.lang.String message)
        Create a new format exception with the given message.
        Parameters:
        message - Message for the exception.