Package com.illumon.iris.db.exceptions
Class SizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.deephaven.UncheckedDeephavenException
com.illumon.iris.db.exceptions.SizeException
- All Implemented Interfaces:
Serializable
public class SizeException extends UncheckedDeephavenException
Unchecked exception thrown when Index
, Table
or
DataColumn
operations are invoked (directly, or indirectly as data updates)
that cannot be completed correctly due to size constraints on the underlying data structures.
For example, the current implementations of RedirectionIndex
, required for
Table.sort(com.illumon.iris.db.tables.SortPair...)
, can only support an 32-bit integer number of keys.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SizeException(long inputSize)
Construct an exception, with a message appropriate for the given arguments.SizeException(String messagePrefix, long inputSize)
Construct an exception, with a message appropriate for the given arguments.SizeException(String messagePrefix, long inputSize, long maximumSize)
Construct an exception, with a message appropriate for the given arguments. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SizeException
Construct an exception, with a message appropriate for the given arguments.- Parameters:
messagePrefix
- An optional prefix for the messageinputSize
- The input size for the messagemaximumSize
- The maximum size for the message
-
SizeException
Construct an exception, with a message appropriate for the given arguments. Maximum size is assumed to beInteger.MAX_VALUE
.- Parameters:
messagePrefix
- An optional prefix for the messageinputSize
- The input size for the message
-
SizeException
public SizeException(long inputSize)Construct an exception, with a message appropriate for the given arguments. Maximum size is assumed to beInteger.MAX_VALUE
, and no prefix is included.- Parameters:
inputSize
- The input size for the message
-