X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fapi%2Fosgi%2FServiceNotFoundException.java;fp=opendaylight%2Fconfig%2Fconfig-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fapi%2Fosgi%2FServiceNotFoundException.java;h=0d9e7f0a34aeca95ecd494f4cf515be9d8e47c17;hp=0000000000000000000000000000000000000000;hb=dceb9db7853dabfbd4abdfb3d886a79871097831;hpb=2608b7032d0d019f5125704609eaaa0590c4598a diff --git a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/osgi/ServiceNotFoundException.java b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/osgi/ServiceNotFoundException.java new file mode 100644 index 0000000000..0d9e7f0a34 --- /dev/null +++ b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/osgi/ServiceNotFoundException.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2016 Brocade Communications Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +package org.opendaylight.controller.config.api.osgi; + +/** + * RuntimeException thrown when an OSGi service lookup fails. + * + * @author Thomas Pantelis + */ +public class ServiceNotFoundException extends RuntimeException { + private static final long serialVersionUID = 1L; + + public ServiceNotFoundException(String message, Throwable cause) { + super(message, cause); + } + + public ServiceNotFoundException(String message) { + super(message); + } +}