diff options
author | Håkon Hallingstad <hakon@oath.com> | 2018-11-07 16:11:03 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@oath.com> | 2018-11-07 16:11:03 +0100 |
commit | a2639311995aa4e721a3cdfa4a923d631985e860 (patch) | |
tree | f714b2849ff2e088f20ff2bd5e5e762b5606a225 | |
parent | f1c7166fc2c96e6d5e44c7930b814470a2651c00 (diff) |
Add constructor for feature parity
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/ConvergenceException.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/ConvergenceException.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/ConvergenceException.java index 07e16c9b610..8c1663bcf49 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/ConvergenceException.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/ConvergenceException.java @@ -1,9 +1,18 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.node.admin.nodeadmin; +/** + * Exception specially handled to avoid dumping full stack trace on convergence failure. + * + * @author hakonhall + */ @SuppressWarnings("serial") public class ConvergenceException extends RuntimeException { public ConvergenceException(String message) { super(message); } + + public ConvergenceException(String message, Throwable t) { + super(message, t); + } } |