blob: 4a7962299e426c666fafb19d508d81c99caad04e [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001package org.onlab.osgi;
2
3/**
4 * Represents condition where some service is not found or not available.
5 */
6public class ServiceNotFoundException extends RuntimeException {
7
8 /**
9 * Creates a new exception with no message.
10 */
11 public ServiceNotFoundException() {
12 }
13
14 /**
15 * Creates a new exception with the supplied message.
16 * @param message error message
17 */
18 public ServiceNotFoundException(String message) {
19 super(message);
20 }
21
22 /**
23 * Creates a new exception with the supplied message and cause.
24 * @param message error message
25 * @param cause cause of the error
26 */
27 public ServiceNotFoundException(String message, Throwable cause) {
28 super(message, cause);
29 }
30
31}