Stable - it never ever crashes


First run and got exception :)
CodeKicker.BBCode.BBCodeParsingException: The tag color does not exists.


codekicker wrote Sep 29, 2011 at 5:36 PM

That error occurs because your BBCode contained a [color] tag and you did not define such a tag. This is not a crash: It is a deliberate error to help you with your problem ;-)


a) remove the tag
b) define the tag
c) switch to ErrorMode.ErrorFree which will just ignore the tag

codekicker wrote Sep 29, 2011 at 5:59 PM

I want to add that you will rarely find any API which never throws an exception. But an exception is not a crash by itself. It is just a different channel for transporting a return value. And that return value might simply indicate an error caused by the caller, not the function itself.

A crash is a NullReferenceException for example.

wrote Sep 29, 2011 at 8:07 PM

orwellophile wrote Dec 27, 2011 at 1:43 PM

Sorry to append a semi-unrelated and Fixed issue, but it had #1 Google Placement, so an answer here would help future searchers.

How do we implement a custom tag whose attribute is specified thus:

[color=red] Standard BBCode
[size=6] Standard BBCode
[font=courier new,monospace] Popular, but not really standard.. and yes I do realise there's a space in there :p

wrote Feb 14, 2013 at 2:41 AM

wrote May 16, 2013 at 7:20 AM

wrote May 16, 2013 at 7:20 AM

wrote Jun 14, 2013 at 6:52 AM