blob: 1777ef606439ed2b96c058530847a9cf23bff5af [file] [log] [blame]
Yuta HIGUCHI66ca1bf2014-03-12 18:34:09 -07001package net.onrc.onos.datastore;
2
3//
4// Not sure if we really need this base class.
5// Just copied hierarchy from RAMCloud.
6//
7/**
8 * Base exception class for conditional write, etc. failure.
9 */
10public class RejectRulesException extends Exception {
11 private static final long serialVersionUID = -1444683012320423530L;
12
13 public RejectRulesException(final String message) {
Yuta HIGUCHI826b4a42014-03-24 13:10:33 -070014 super(message);
Yuta HIGUCHI66ca1bf2014-03-12 18:34:09 -070015 }
16
17 public RejectRulesException(final String message, final Throwable cause) {
Yuta HIGUCHI826b4a42014-03-24 13:10:33 -070018 super(message, cause);
Yuta HIGUCHI66ca1bf2014-03-12 18:34:09 -070019 }
20
21 public RejectRulesException(final Throwable cause) {
Yuta HIGUCHI826b4a42014-03-24 13:10:33 -070022 super(cause);
Yuta HIGUCHI66ca1bf2014-03-12 18:34:09 -070023 }
24}