Class AllocationRequestException

All Implemented Interfaces:
Serializable

Thrown when an allocation request is too large.
See Also:
  • Constructor Details

    • AllocationRequestException

      public AllocationRequestException(int limit, BigInteger request)
      Constructs a new instance.
      Parameters:
      limit - The allocation limit.
      request - The allocation request.
    • AllocationRequestException

      public AllocationRequestException(int limit, BigInteger request, Throwable throwable)
      Constructs a new instance.
      Parameters:
      limit - The allocation limit.
      request - The allocation request.
      throwable - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • AllocationRequestException

      public AllocationRequestException(int limit, int request)
      Constructs a new instance.
      Parameters:
      limit - The allocation limit.
      request - The allocation request.
    • AllocationRequestException

      public AllocationRequestException(int limit, long request, Throwable throwable)
      Constructs a new instance.
      Parameters:
      limit - The allocation limit.
      request - The allocation request.
      throwable - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
  • Method Details

    • getLimit

      public int getLimit()
      Gets the allocation limit.
      Returns:
      the allocation limit.
    • getRequest

      Gets the allocation request.
      Returns:
      the allocation request.