Package org.insa.graphs.model.io
Class BadVersionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.insa.graphs.model.io.BadFormatException
-
- org.insa.graphs.model.io.BadVersionException
-
- All Implemented Interfaces:
java.io.Serializable
public class BadVersionException extends BadFormatException
Exception thrown when the version of the file is not at least the expected one.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
actualVersion
private int
expectedVersion
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description BadVersionException(int actualVersion, int expectedVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActualVersion()
int
getExpectedVersion()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
actualVersion
private int actualVersion
-
expectedVersion
private int expectedVersion
-
-