Madan Jampani | 08822c4 | 2014-11-04 17:17:46 -0800 | [diff] [blame^] | 1 | package org.onlab.onos.store.service; |
2 | |||||
3 | /** | ||||
4 | * Base exception type for database failures. | ||||
5 | */ | ||||
6 | @SuppressWarnings("serial") | ||||
7 | public class DatabaseException extends RuntimeException { | ||||
8 | public DatabaseException(String message, Throwable t) { | ||||
9 | super(message, t); | ||||
10 | } | ||||
11 | |||||
12 | public DatabaseException(String message) { | ||||
13 | super(message); | ||||
14 | } | ||||
15 | |||||
16 | public DatabaseException(Throwable t) { | ||||
17 | super(t); | ||||
18 | } | ||||
19 | |||||
20 | public DatabaseException() { | ||||
21 | }; | ||||
22 | } |