ShieldException -> WatcherException

ParseException should extend WatcherException not ShieldException.

Original commit: elastic/x-pack-elasticsearch@340f5b6125
This commit is contained in:
Brian Murphy 2015-04-08 17:59:53 -04:00
parent 7981075f05
commit b2586bc7c1
1 changed files with 2 additions and 2 deletions

View File

@ -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);