Replace Instance.exists() by an exception
Indeed, it is important to unify behaviour between different classes/methods:
- connect(name) throws UndefinedApplicationException.
- start(name) throws UndefinedApplicationException.
Idea: any undefined resource throws an exception (key, app, etc.)
- start() return a non-null Instance.
- connect() may return a null Instance if nothing executes.
To upload designs, you'll need to enable LFS. More information