mybb2
mybb2 copied to clipboard
Add Specific Exceptions
Atm we're throwing Exception or RuntimeException, however correct Exception classes should be added and thrown instead (eg TopicNotFound etc). Note that this issue also applies to our packages.
Fixed for the core, next one the packages.
Just noticed I missed the Exceptions in PermissionChecker
Another one in getDateObject in ParseDateHelper
@wpillar Added the use of Exception again, eg for topic closed. Reopening.