edu.rice.cs.drjava.model.definitions
Class NoSuchDocumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.rice.cs.drjava.model.definitions.NoSuchDocumentException
- All Implemented Interfaces:
- Serializable
public class NoSuchDocumentException
- extends RuntimeException
This exception is to be thrown when an OpenDefinitionsDocument
was asked for its DefinitionsDocument and when the OpenDefinitionsDocument
itself is not registered in the Document Cache. This could happen either if the
OpenDefinitionsDocument
was not correctly initialized (unlikely) or if
the document was asked for after the OpenDefinitionsDocument
was
explicitly closed by calling doc.close()
. For example, this
exception is caught when changing the active definitions pane after the active pane
had been closed (MainFrame.java).
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchDocumentException
public NoSuchDocumentException(String msg)
- Parameters:
msg
- The message to send along with this exception