Class ViewSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.saperion.ngc.viewer.temporary.ViewSizeException
- All Implemented Interfaces:
Serializable
The
ViewSizeException
represents an view temporary document error, if the temporary is
too large.- Author:
- sts
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionViewSizeException
(long actualSizeInBytes, long maxSizeInBytes) Creates aViewSizeException
.ViewSizeException
(String message) Creates aViewSizeException
with the given message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ViewSizeException
Creates aViewSizeException
with the given message.- Parameters:
message
- the message of this exception.
-
ViewSizeException
public ViewSizeException(long actualSizeInBytes, long maxSizeInBytes) Creates aViewSizeException
. 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.
-