Issue Bug Closed

#24503Throw correct Exceptions everywhere

Steffen Gebert 01/09/11, 17:01 updated 10/24/17, 14:06

Description

  • There are some more die() statements, which should be replaced with an Exception
  • Often, no error code is added to the Exception($msg, $code) call
  • Sometimes, only a general Exception instead of a specific RuntimeException or ArgumentException is thrown (not criticl, but I replaced them)

Patch is ready for RFC after branching 4.5
(issue imported from #M16953)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.