Class UnsupportedFileVersionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.github.thecsdev.tcdcommons.api.util.exceptions.UnsupportedFileVersionException
All Implemented Interfaces:
Serializable

public final class UnsupportedFileVersionException extends IOException
Thrown when reading a File's data, and the data cannot be parsed because it's "version" is unsupported.
See Also:
  • Constructor Details

    • UnsupportedFileVersionException

      public UnsupportedFileVersionException(String fileVersion)
  • Method Details

    • getFileVersion

      public String getFileVersion()
      Returns a String representation of the File data version.
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object