Class DataLengthViolationException

    • Method Detail

      • getLength

        public long getLength()
        Returns the length of the data, that was attempted to be written. Returns -1, if that length is unknown.
        See Also:
        isLengthExact()
      • isLengthExact

        public boolean isLengthExact()
        Returns, whether the value returned by getLength() is the exact length of the data attempted to be written (true) or just a lower bound of that length (false).