Class ViewSizeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.saperion.ngc.viewer.temporary.ViewSizeException
-
- All Implemented Interfaces:
java.io.Serializable
public class ViewSizeException extends java.lang.Exception
TheViewSizeException
represents an view temporary document error, if the temporary is too large.- Author:
- sts
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewSizeException(long actualSizeInBytes, long maxSizeInBytes)
Creates aViewSizeException
.ViewSizeException(java.lang.String message)
Creates aViewSizeException
with the given message.
-
-
-
Constructor Detail
-
ViewSizeException
public ViewSizeException(java.lang.String message)
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.
-
-