edu.rice.cs.drjava.model
Class AlreadyOpenException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--edu.rice.cs.drjava.model.AlreadyOpenException
All Implemented Interfaces:
Serializable

public class AlreadyOpenException
extends Exception

Indicates that the file attempting to be opened is already open.

Version:
$Id: AlreadyOpenException.java,v 1.3 2002/02/08 14:22:19 brianstoler Exp $
See Also:
Serialized Form

Field Summary
private  OpenDefinitionsDocument _openDoc
           
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
AlreadyOpenException(OpenDefinitionsDocument doc)
          Exception indicating that the requested file is already open.
 
Method Summary
 OpenDefinitionsDocument getOpenDocument()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

_openDoc

private OpenDefinitionsDocument _openDoc
Constructor Detail

AlreadyOpenException

public AlreadyOpenException(OpenDefinitionsDocument doc)
Exception indicating that the requested file is already open.
Parameters:
doc - the currently open document
Method Detail

getOpenDocument

public OpenDefinitionsDocument getOpenDocument()
Returns:
the currently open document for the requested file