Class 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 Details

    • SizeException

      public SizeException​(@Nullable String messagePrefix, long inputSize, long maximumSize)
      Construct an exception, with a message appropriate for the given arguments.
      Parameters:
      messagePrefix - An optional prefix for the message
      inputSize - The input size for the message
      maximumSize - The maximum size for the message
    • SizeException

      public SizeException​(@Nullable String messagePrefix, long inputSize)
      Construct an exception, with a message appropriate for the given arguments. Maximum size is assumed to be Integer.MAX_VALUE.
      Parameters:
      messagePrefix - An optional prefix for the message
      inputSize - 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 be Integer.MAX_VALUE, and no prefix is included.
      Parameters:
      inputSize - The input size for the message