Class ViewSizeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ViewSizeException
    extends java.lang.Exception
    The ViewSizeException represents an view temporary document error, if the temporary is too large.
    Author:
    sts
    See Also:
    Serialized Form
    • Method Summary

      • 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

      • ViewSizeException

        public ViewSizeException​(java.lang.String message)
        Creates a ViewSizeException with the given message.
        Parameters:
        message - the message of this exception.
      • ViewSizeException

        public ViewSizeException​(long actualSizeInBytes,
                                 long maxSizeInBytes)
        Creates a ViewSizeException. The exception message is being build internally by using the given sizes.
        Parameters:
        actualSizeInBytes - the given byte array size in bytes.
        maxSizeInBytes - the maximum allowed view size in bytes.