Why do exceptions usually have the suffix 'Exception' in the class name?
- by Pheter
It seems to me that it is rendundant information as the usage of the class will make it apparent that it is an exception. Furthermore, in PHP, the class must extend the Exception class so it will be apparent that it is an exception when looking at the class on its own.
Despite this, developers usually apply the suffix 'Exception'. Why is this?