WoltLab/WCF — pull request #1803 by joshuaruesweg (2014-09-03 19:54:50+00:00)
Title: throw SystemException if the objectTypeID is invalid

If the objectTypeID is null, a PHP Fatal Error is thrown, because getObjectType() returns null. Instead of the fatal error, now a system exception is thrown with the (optional) stack trace. This is much nicer, especially for developers