tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 1 | package org.onlab.osgi; |
| 2 | |
| 3 | /** |
| 4 | * Represents condition where some service is not found or not available. |
| 5 | */ |
| 6 | public 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 | } |