001 package javax.realtime; 002 003 /** Thrown when an attempt is made to allocate a range of 004 * physical or virtual memory that is already in use. 005 */ 006 public class MemoryInUseException extends Exception { 007 008 /** A constructor for <code>MemoryInUseException</code>. */ 009 public MemoryInUseException() { 010 super(); 011 } 012 013 /** A descriptive constructor for <code>MemoryInUseException</code>. 014 * 015 * @param s Description of the error. 016 */ 017 public MemoryInUseException(String s) { 018 super(s); 019 } 020 }