Return type is changed

While calling from Java need way to determine if conversion was successful or not