From b2586bc7c1221e9e53a017652f066135401e6e4d Mon Sep 17 00:00:00 2001 From: Brian Murphy Date: Wed, 8 Apr 2015 17:59:53 -0400 Subject: [PATCH] ShieldException -> WatcherException ParseException should extend WatcherException not ShieldException. Original commit: elastic/x-pack-elasticsearch@340f5b6125f1b907237b6e85526bda3e8454a041 --- .../watcher/trigger/schedule/ScheduleTriggerEvent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/elasticsearch/watcher/trigger/schedule/ScheduleTriggerEvent.java b/src/main/java/org/elasticsearch/watcher/trigger/schedule/ScheduleTriggerEvent.java index 77ad32cad6e..6a1724e76cf 100644 --- a/src/main/java/org/elasticsearch/watcher/trigger/schedule/ScheduleTriggerEvent.java +++ b/src/main/java/org/elasticsearch/watcher/trigger/schedule/ScheduleTriggerEvent.java @@ -9,7 +9,7 @@ import org.elasticsearch.common.ParseField; import org.elasticsearch.common.joda.time.DateTime; import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.common.xcontent.XContentParser; -import org.elasticsearch.shield.ShieldException; +import org.elasticsearch.watcher.WatcherException; import org.elasticsearch.watcher.support.WatcherDateUtils; import org.elasticsearch.watcher.trigger.TriggerEvent; @@ -76,7 +76,7 @@ public class ScheduleTriggerEvent extends TriggerEvent { return new ScheduleTriggerEvent(triggeredTime, scheduledTime); } - public static class ParseException extends ShieldException { + public static class ParseException extends WatcherException { public ParseException(String msg) { super(msg);