Convert API to throw exceptions instead of return values
diff --git a/src/test/java/com/intel/jndn/management/RibEntryTest.java b/src/test/java/com/intel/jndn/management/RibEntryTest.java
index ea54fbd..8a63abb 100644
--- a/src/test/java/com/intel/jndn/management/RibEntryTest.java
+++ b/src/test/java/com/intel/jndn/management/RibEntryTest.java
@@ -16,7 +16,7 @@
import com.intel.jndn.management.types.StatusDataset;
import com.intel.jndn.management.types.RibEntry;
import com.intel.jndn.management.types.Route;
-import com.intel.jndn.utils.Client;
+import com.intel.jndn.utils.SimpleClient;
import java.util.List;
import junit.framework.Assert;
import net.named_data.jndn.Data;
@@ -81,7 +81,7 @@
interest.setInterestLifetimeMilliseconds(2000.0);
// send packet
- Data data = Client.getDefault().getSync(forwarder, interest);
+ Data data = SimpleClient.getDefault().getSync(forwarder, interest);
// decode results
List<RibEntry> results = StatusDataset.wireDecode(data.getContent(), RibEntry.class);