Does APIException support passing the data parameter? Some exceptions need to return fixed information.