Page MenuHomePhabricator

Figure what to do with MWException within Wikibase
Closed, InvalidPublic

Description

Replace with RuntimeException? Try finding whatever exception type fits best? Keep them for now?

Event Timeline

hoo raised the priority of this task from to Needs Triage.
hoo updated the task description. (Show Details)
hoo added subscribers: hoo, aude, daniel and 2 others.

Just, please never ever throw a plain Exception.

This ticket sounds like it was decided to move away from MWException for certain things. Could someone link to more information?

It's no longer clear what I meant here. Also in the past we have used MWException ourselves, but nowadays we create appropriate Exceptions whenever needed.