001 // MemoryAccessError.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 007 /** 008 * @author Wes Beebee <<a href="mailto:wbeebee@mit.edu">wbeebee@mit.edu</a>> 009 */ 010 011 /** This error is thrown on an attempt to refer to an object in an 012 * accessible <code>MemoryArea</code>. For example this will be thrown 013 * if logic in a <code>NoHeapRealtimeThread</code> attempts to refer 014 * to an object in the traditional Java heap. 015 */ 016 public class MemoryAccessError extends Error { 017 018 /** A constructor for <code>MemoryAccessError</code>. */ 019 public MemoryAccessError() { 020 super(); 021 } 022 023 /** A descriptive constructor for <code>MemoryAccessError</code>. 024 * 025 * @param s Description of the error. 026 */ 027 public MemoryAccessError(String s) { 028 super(s); 029 } 030 }