Class FileExceedsMaxLengthException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FileExceedsMaxLengthException
    extends TufException
    Thrown when the Meta File exceeds the max allowable file size as configured in the Updater
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFileUrl()  
      int getMaxSize()  
      • 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

      • FileExceedsMaxLengthException

        public FileExceedsMaxLengthException​(java.lang.String fileUrl,
                                             int maxSize)
    • Method Detail

      • getFileUrl

        public java.lang.String getFileUrl()
      • getMaxSize

        public int getMaxSize()