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 4447 2008-04-18 16:06:34Z rcartwright $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AlreadyOpenException
public AlreadyOpenException(OpenDefinitionsDocument[] docs)
AlreadyOpenException
public AlreadyOpenException(OpenDefinitionsDocument doc)
- Exception indicating that the requested file is
already open.
- Parameters:
doc
- the currently open document
getOpenDocument
public OpenDefinitionsDocument getOpenDocument()
- Returns:
- the currently open document for the requested file
getOpenDocuments
public OpenDefinitionsDocument[] getOpenDocuments()