001/** 002 * 003 */ 004package icy.common.exception; 005 006/** 007 * Exception when trying to allocate a too large array (length > 2^31) 008 * 009 * @author Stephane 010 */ 011public class TooLargeArrayException extends RuntimeException 012{ 013 public TooLargeArrayException(String message, Throwable cause) 014 { 015 super(message, cause); 016 } 017 018 public TooLargeArrayException(Throwable cause) 019 { 020 super(cause); 021 } 022 023 public TooLargeArrayException(String message) 024 { 025 super(message); 026 } 027 028 public TooLargeArrayException() 029 { 030 this("Can't allocate array of size >= 2^31"); 031 } 032}