001 // SizeOutOfBoundsException.java, created by wbeebee 002 // Copyright (C) 2001 Wes Beebee <wbeebee@mit.edu> 003 // Licensed under the terms of the GNU GPL; see COPYING for details. 004 package javax.realtime; 005 006 /** <code>SizeOutOfBoundsException</code> means that the value given in 007 * the size parameter is either negative, larger than an allowable range, 008 * or would cause an accessor method to access an address outside of the 009 * memory area. 010 */ 011 public class SizeOutOfBoundsException extends Exception { 012 013 /** A constructor for <code>SizeOutOfBoundsException</code>. */ 014 public SizeOutOfBoundsException() { 015 super(); 016 } 017 018 /** A descriptive constructor for <code>SizeOutOfBoundsException</code>. */ 019 public SizeOutOfBoundsException(String s) { 020 super(s); 021 } 022 }