digitalroastery / weblounge

Web Content Management System
12 stars 4 forks source link

Think about the Exception types thrown by the classes of the contentrepository module #301

Open myniva opened 10 years ago

myniva commented 10 years ago

Right now there's only one class ContentRepositoryException. I'm not sure if it is a good idea to just always throw a ContentRepositoryException or if we should have some more specific exception classes.

myniva commented 10 years ago

If one tries to operate on a non-existing resource, a ResourceNotFoundException would be nice.