mybb2 icon indicating copy to clipboard operation
mybb2 copied to clipboard

Add Specific Exceptions

Open JN-Jones opened this issue 10 years ago • 4 comments

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.

JN-Jones avatar Apr 09 '15 19:04 JN-Jones

Fixed for the core, next one the packages.

JN-Jones avatar Apr 14 '15 17:04 JN-Jones

Just noticed I missed the Exceptions in PermissionChecker

JN-Jones avatar Apr 17 '15 10:04 JN-Jones

Another one in getDateObject in ParseDateHelper

JN-Jones avatar Apr 17 '15 11:04 JN-Jones

@wpillar Added the use of Exception again, eg for topic closed. Reopening.

JN-Jones avatar Aug 25 '15 18:08 JN-Jones