Package org.wso2.carbon.bam.util

Examples of org.wso2.carbon.bam.util.BAMException


                message.setOperationId(Integer.parseInt(adbMessage.getOperationId()));
                message.setUserAgent(adbMessage.getUserAgent());
                message.setTimestamp(adbMessage.getTimestamp());
            }
        } catch (RemoteException e) {
            throw new BAMException("getMessage failed", e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("getMessage failed", e);
        }
        return message;
    }
View Full Code Here


                message.setMessageDirection(adbMessageData.getDirection());
                // message.setMsgStatus(adbMessageData.getStatus());
                message.setMessageDataKeyId(Integer.parseInt(adbMessageData.getMessageDataKeyId()));
            }
        } catch (RemoteException e) {
            throw new BAMException("getMessage failed", e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("getMessage failed", e);
        }
        return message;
    }
View Full Code Here

                    clients.add(client);
                }

            }
        } catch (RemoteException e) {
            throw new BAMException("getAllClients failed for serverId: " + serverId, e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("getAllClients failed for serverId: " + serverId, e);
        }
        return clients.toArray(new ClientDO[clients.size()]);
    }
View Full Code Here

                    dataList.add(propertyFilterDO);
                }
            }
        } catch (RemoteException e) {
            throw new BAMException("Fetching xpath configurations failed..", e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("Fetching xpath configurations failed..", e);
        }

        return dataList.toArray(new PropertyFilterDO[dataList.size()]);

    }
View Full Code Here

                    nsList.add(namespaceDO);
                }
            }
        } catch (RemoteException e) {
            throw new BAMException("Fetching namespaces for xpath id " + xpathID + " failed..", e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("Fetching namespaces for xpath id " + xpathID + " failed..", e);
        }

        return nsList.toArray(new NamespaceDO[nsList.size()]);
    }
View Full Code Here

    public void updateXpathData(String alias, String name, String xpath, int serverId, int bamId)
            throws BAMException {
        try {
            stub.updateXpathData(alias, name, xpath, serverId, bamId);
        } catch (RemoteException e) {
            throw new BAMException("updateXpathData failed", e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("updateXpathData failed", e);
        }
    }
View Full Code Here

    public void addXpathData(String alias, String name, String xpath, int serverId)
            throws BAMException {
        try {
            stub.addXpathData(alias, name, xpath, serverId);
        } catch (RemoteException e) {
            throw new BAMException("addXpathData failed", e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("addXpathData failed", e);
        }
    }
View Full Code Here

    public void addNamespaceData(int bamXpathId, String prefix, String uri) throws BAMException {
        try {
            stub.addNamespaceData(bamXpathId, prefix, uri);
        } catch (RemoteException e) {
            throw new BAMException("addNamespaceData failed", e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("addNamespaceData failed", e);
        }
    }
View Full Code Here

    public void deleteNamespaceData(int bamXpathId) throws BAMException {
        try {
            stub.deleteNamespaceData(bamXpathId);
        } catch (RemoteException e) {
            throw new BAMException("Deleting namespace data failed", e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("Deleting namespace data failed", e);
        }
    }
View Full Code Here

    public void updateNamespaceData(int bamXpathId, String prefix, String uri, int bamId)
            throws BAMException {
        try {
            stub.updateNamespaceData(bamXpathId, prefix, uri, bamId);
        } catch (RemoteException e) {
            throw new BAMException("updateNamespaceData failed", e);
        } catch (DataServiceFaultException e) {
            throw new BAMException("updateNamespaceData failed", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.wso2.carbon.bam.util.BAMException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.