Allowing to override BException codes and formatting.