Throw an exception if ASN_Object::fromBinary is called with wrong params