001 // OffsetOutOfBoundsException.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 /** Thrown if the constructor of an <code>ImmortalPhysicalMemory, 007 * LTPhysicalMemory, VTPhysicalMemory, RawMemoryAccess</code>, or 008 * <code>RawMemoryFloatAccess</code> is given an invalid address. 009 */ 010 public class OffsetOutOfBoundsException extends Exception { 011 012 /** A constructor for <code>OffsetOutOfBoundsException</code>. */ 013 public OffsetOutOfBoundsException() { 014 super(); 015 } 016 017 /** A descriptive constructor for <code>OffsetOutOfBoundsException</code>. 018 * 019 * @param s A description of the execution. 020 */ 021 public OffsetOutOfBoundsException(String s) { 022 super(s); 023 } 024 }