Class RollbackVersionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RollbackVersionException
    extends TufException
    Thrown when the version of the latest downloaded role does not match the expectation.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RollbackVersionException​(int currentVersion, int foundVersion)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCurrentVersion()  
      int getFoundVersion()  
      • 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

      • RollbackVersionException

        public RollbackVersionException​(int currentVersion,
                                        int foundVersion)
    • Method Detail

      • getCurrentVersion

        public int getCurrentVersion()
      • getFoundVersion

        public int getFoundVersion()