diff options
-rw-r--r-- | src/main/java/com/att/nsa/apiServer/metrics/cambria/DMaaPMetricsSender.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/apiServer/metrics/cambria/DMaaPMetricsSender.java b/src/main/java/com/att/nsa/apiServer/metrics/cambria/DMaaPMetricsSender.java index a7b0598..2959f41 100644 --- a/src/main/java/com/att/nsa/apiServer/metrics/cambria/DMaaPMetricsSender.java +++ b/src/main/java/com/att/nsa/apiServer/metrics/cambria/DMaaPMetricsSender.java @@ -145,7 +145,7 @@ public class DMaaPMetricsSender implements Runnable { fCambria = DMaaPCambriaClientFactory.createSimplePublisher(cambriaBaseUrl, topic); } catch (UnknownHostException e) { log.warn("Unable to get localhost address in MetricsSender constructor.", e); - throw new RuntimeException(e); + throw new IllegalArgumentException(e); } } |