xwiki/xwiki-platform — comment on commit d5124ebc798500bc9f791de015114dd802c305c5
File: xwiki-platform-core/xwiki-platform-workspace/xwiki-platform-workspace-api/src/main/java/org/xwiki/workspace/WorkspaceManager.java line 64
By Enygma2002:

Well, it depends.

It's not exactly an exception of a Workspace, but rather of the WorkspaceManager... so I`d rather call it a WorkspaceManagerException. It's launched by the WorkspaceManager class. If it were launched by a Workspace class instance, then it would have made more sense to call it WorkspaceException.

It`s not necessarily my intent to make exceptions very detailed for now, but since that's the only place I`ve used them, it felt more natural to call it like that.

Does this make sense?