Class DataFormatException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataFormatException
    extends StorageException
    This class represents runtime issues with data files not being in the proper format, or other such issues occurring.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DataFormatException()
      Construct a data format exception with no message.
      DataFormatException​(java.lang.String msg)
      Construct a data format exception with the specified message.
      DataFormatException​(java.lang.String msg, java.lang.Throwable cause)
      Construct a data format exception with the specified message and cause.
      DataFormatException​(java.lang.Throwable cause)
      Construct a data format exception with the specified cause and no 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

      • DataFormatException

        public DataFormatException()
        Construct a data format exception with no message.
      • DataFormatException

        public DataFormatException​(java.lang.String msg)
        Construct a data format exception with the specified message.
      • DataFormatException

        public DataFormatException​(java.lang.Throwable cause)
        Construct a data format exception with the specified cause and no message.
      • DataFormatException

        public DataFormatException​(java.lang.String msg,
                                   java.lang.Throwable cause)
        Construct a data format exception with the specified message and cause.