An exception is also thrown if the BBCode is unsafe, e.g. {TEXT} instead of {URL}. And I believe that part is important enough and complex enough to be discussed in on Area51 instead, because as it is unsafe BBCodes are silently ignored.