org.wso2.carbon.registry.info.stub.RegistryExceptionException Java Examples

The following examples show how to use org.wso2.carbon.registry.info.stub.RegistryExceptionException. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InfoServiceAdminClient.java    From micro-integrator with Apache License 2.0 6 votes vote down vote up
public SubscriptionBean subscribe(String path, String endpoint, String eventName, String sessionId)
        throws RemoteException {
    SubscriptionBean bean = null;
    try {
        bean = infoAdminServiceStub.subscribe(path, endpoint, eventName, sessionId);
    } catch (RemoteException remoteException) {
        log.error("infoAdminServiceStub subscription fail " + remoteException.getMessage());
        throw new RemoteException("infoAdminServiceStub subscription fail " + remoteException.getMessage());

    } catch (RegistryExceptionException registryException) {
        log.error("infoAdminServiceStub subscription fail " + registryException.getMessage());
        throw new AxisFault("infoAdminServiceStub subscription fail " + registryException.getMessage());

    }
    return bean;
}
 
Example #2
Source File: InfoServiceAdminClient.java    From product-ei with Apache License 2.0 6 votes vote down vote up
public SubscriptionBean subscribe(String path, String endpoint, String eventName,
                                  String sessionId) throws RemoteException {
    SubscriptionBean bean = null;
    try {
        bean = infoAdminServiceStub.subscribe(path, endpoint, eventName, sessionId);
    } catch (RemoteException remoteException) {
        log.error("infoAdminServiceStub subscription fail " + remoteException.getMessage());
        throw new RemoteException("infoAdminServiceStub subscription fail " + remoteException.getMessage());

    } catch (RegistryExceptionException registryException) {
        log.error("infoAdminServiceStub subscription fail " + registryException.getMessage());
        throw new AxisFault("infoAdminServiceStub subscription fail " + registryException.getMessage());

    }
    return bean;
}
 
Example #3
Source File: InfoServiceAdminClient.java    From product-es with Apache License 2.0 6 votes vote down vote up
public SubscriptionBean subscribe(String path, String endpoint, String eventName,
                                  String sessionId) throws RemoteException {
    SubscriptionBean bean;
    try {
        bean = infoAdminServiceStub.subscribe(path, endpoint, eventName, sessionId);
    } catch (RemoteException remoteException) {
        log.error("infoAdminServiceStub subscription fail " + remoteException.getMessage());
        throw new RemoteException("infoAdminServiceStub subscription fail " + remoteException.getMessage());

    } catch (RegistryExceptionException registryException) {
        log.error("infoAdminServiceStub subscription fail " + registryException.getMessage());
        throw new AxisFault("infoAdminServiceStub subscription fail " + registryException.getMessage());

    }
    return bean;
}