Class ViewSizeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.saperion.ngc.viewer.temporary.ViewSizeException
All Implemented Interfaces:
Serializable

public class ViewSizeException extends Exception
The ViewSizeException represents an view temporary document error, if the temporary is too large.
Author:
sts
See Also:
  • Constructor Details

    • ViewSizeException

      public ViewSizeException(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.