edu.rice.cs.drjava.model
Class DocumentClosedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.rice.cs.drjava.model.DocumentClosedException
- All Implemented Interfaces:
- Serializable
public class DocumentClosedException
- extends RuntimeException
Special DocumentClosedException to signify when a document's file no longer
exists on disk where it once was, and as a result of the prompt given to the user, the
document is closed
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DocumentClosedException
public DocumentClosedException(OpenDefinitionsDocument d,
String s)
- Creates a DocumentClosedException for the given file
getDocument
public OpenDefinitionsDocument getDocument()
- Get the document which caused this exception.