Edgewall Software

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11568 closed enhancement (fixed)

All Trac exceptions should inherit from a base class in Trac

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.1.2
Component: general Version:
Severity: normal Keywords: exception
Cc: Branch:
Release Notes:
API Changes:

All exceptions defined in Trac inherit from TracBaseError.

Internal Changes:

Description (last modified by Ryan J Ollos)

In #11509, the TracBaseException class was proposed, with all of Trac's custom exceptions inheriting from this class. This is just a dedicated ticket so that we can discuss and document the change.

A similar change was also previously discussed in comment:25:ticket:11189 and comments that follow.

TracDev/Exceptions#CustomTracExceptions needs to be updated when the change is committed.

Attachments (0)

Change History (4)

comment:1 by Ryan J Ollos, 9 years ago

Description: modified (diff)
Status: newassigned

comment:2 by Ryan J Ollos, 9 years ago

Changes proposed in #11509 have been rebased on the trunk in log:rjollos.git:t11568.

comment:3 by Ryan J Ollos, 9 years ago

API Changes: modified (diff)
Resolution: fixed
Status: assignedclosed

Documentation updated.

Committed to trunk in [12656].

comment:4 by Ryan J Ollos, 9 years ago

In [12687]: removed imports that are unused after [12656].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.