blob: 4ce1610c77f8f0136dec12488bdec755f743b853 [file] [log] [blame]
Jonathan Hart6df90172014-04-03 10:13:11 -07001package net.onrc.onos.core.datastore;
Yuta HIGUCHI66ca1bf2014-03-12 18:34:09 -07002
3//
4// Not sure if we really need this base class.
5// Just copied hierarchy from RAMCloud.
6//
Ray Milkey269ffb92014-04-03 14:43:30 -07007
Yuta HIGUCHI66ca1bf2014-03-12 18:34:09 -07008/**
9 * Base exception class for conditional write, etc. failure.
10 */
11public class RejectRulesException extends Exception {
12 private static final long serialVersionUID = -1444683012320423530L;
13
14 public RejectRulesException(final String message) {
Yuta HIGUCHI826b4a42014-03-24 13:10:33 -070015 super(message);
Yuta HIGUCHI66ca1bf2014-03-12 18:34:09 -070016 }
17
18 public RejectRulesException(final String message, final Throwable cause) {
Yuta HIGUCHI826b4a42014-03-24 13:10:33 -070019 super(message, cause);
Yuta HIGUCHI66ca1bf2014-03-12 18:34:09 -070020 }
21
22 public RejectRulesException(final Throwable cause) {
Yuta HIGUCHI826b4a42014-03-24 13:10:33 -070023 super(cause);
Yuta HIGUCHI66ca1bf2014-03-12 18:34:09 -070024 }
25}