001    // ThrowBoundaryError.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     * @author Wes Beebee <<a href="mailto:wbeebee@mit.edu">wbeebee@mit.edu</a>>
008     */
009    
010    /** The error thrown by <code>MeoryArea.enter(Runnable)</code> when a
011     *  <code>java.lang.Throwable</code> is allocated from memory that is
012     *  not usable in the surrounding scope tries to propagate out of the
013     *  scope of the <code>MemoryArea.enter(Runnable)</code>.
014     */
015    public class ThrowBoundaryError extends Error {
016    
017        /** A constructor for <code>ThrowBoundaryError</code>. */
018        public ThrowBoundaryError() {
019            super();
020        }
021    
022        /** A descriptive constructor for <code>ThrowBoundaryError</code>.
023         *
024         *  @param s Description of the error.
025         */
026        public ThrowBoundaryError(String s) {
027            super(s);
028        }
029    }