ides.api.core
Class IncompleteWorkspaceDescriptorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ides.api.core.IncompleteWorkspaceDescriptorException
- All Implemented Interfaces:
- java.io.Serializable
public class IncompleteWorkspaceDescriptorException
- extends java.lang.Exception
The data needed to construct a WorkspaceDescriptor is incomplete.
- Author:
- Lenko Grigorov
- See Also:
- Serialized Form
|
Field Summary |
protected java.util.Collection<DESModel> |
neverSavedModels
A list of the models which prevented the creation of the workspace
descriptor (new models which have never been saved). |
|
Method Summary |
java.util.Collection<DESModel> |
getNeverSavedModels()
Returns a list of the models which prevented the creation of the
workspace descriptor (e.g., new models in the workspace which have never
been saved and their file location is unavailable). |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
neverSavedModels
protected java.util.Collection<DESModel> neverSavedModels
- A list of the models which prevented the creation of the workspace
descriptor (new models which have never been saved).
- See Also:
WorkspaceBackend.getDescriptor()
IncompleteWorkspaceDescriptorException
public IncompleteWorkspaceDescriptorException()
- Creates an expection with an empty list of models.
IncompleteWorkspaceDescriptorException
public IncompleteWorkspaceDescriptorException(java.util.Collection<DESModel> models)
- Creates an exception which contains a list of the models which prevented
the creation of the workspace descriptor.
- Parameters:
models - the list of models which prevented the creation of the
workspace descriptor
getNeverSavedModels
public java.util.Collection<DESModel> getNeverSavedModels()
- Returns a list of the models which prevented the creation of the
workspace descriptor (e.g., new models in the workspace which have never
been saved and their file location is unavailable).
- Returns:
- a list of the models which prevented the creation of the
workspace descriptor