Type: Clean up
Affects Version/s: None
Fix Version/s: 7.4
Impact type:API change
The following internal exceptions were removed and replaced:
The following internal exceptions were removed and replaced: StorageException -> removed LockException -> NuxeoException FulltextQueryException -> QueryParseException QueryMakerException -> QueryParseException ConcurrentUpdateStorageException -> ConcurrentUpdateException ConcurrentUpdateDocumentException -> ConcurrentUpdateException
- StorageException -> removed
- LockException -> NuxeoException
- FulltextQueryException -> QueryParseException
- QueryMakerException -> QueryParseException
- ConcurrentUpdateStorageException -> ConcurrentUpdateException
- ConcurrentUpdateDocumentException -> ConcurrentUpdateException
Checked exceptions that are not specific are a pain, because catching them tells us nothing. Therefore we should remove StorageException (among others).
Subclass ConcurrentUpdateStorageException is just caught to be rethrown as ConcurrentUpdateDocumentException which itself is just caught to be rethrown as ConcurrentUpdateException so let's just throw that directly.
Subclass ConnectionResetException can probably be removed because now we have a pool to do the checks but that's another issue.