Finished the deprecation campaign on decoders.
Introduced BDecoderException's hierarchy.