Project

General

Profile

Actions

Task #90101

closed

Remove custom InvalidArgumentException from core

Added by Markus Klein almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2020-01-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:
On Location Sprint

Description

InvalidArgumentException is a PHP native exception inheriting from \LogicException.
Our custom one extends \RuntimeException

This is rather unexpected and conception-wise not clever.

Replace it with a simple pure RuntimeException.

Actions

Also available in: Atom PDF