[PR #7210] Further exceptions tweaks #10372

Closed
opened 2026-01-22 16:07:20 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/7210

State: closed
Merged: No


Expands and refines #6743.

  • All exceptions are made final (or abstract).
  • Nameless constructors renamed to new().
  • Exceptions moved around to their appropriate places (Exception sub-namespace), except few that are to be handled later (i.e. Mapping, Query).
  • Removed Exception suffixes.
  • Also cleaned up root namespace by moving out non-namespaced exceptions.

To be documented after first round of review.

cc @greg0ire

TODO:

  • add method constructors for pre-3.0 exceptions
**Original Pull Request:** https://github.com/doctrine/orm/pull/7210 **State:** closed **Merged:** No --- Expands and refines #6743. * All exceptions are made final (or abstract). * Nameless constructors renamed to `new()`. * Exceptions moved around to their appropriate places (Exception sub-namespace), except few that are to be handled later (i.e. Mapping, Query). * Removed Exception suffixes. * Also cleaned up root namespace by moving out non-namespaced exceptions. To be documented after first round of review. cc @greg0ire TODO: * [ ] add method constructors for pre-3.0 exceptions
admin added the pull-request label 2026-01-22 16:07:20 +01:00
admin closed this issue 2026-01-22 16:07:20 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10372