Package com.volantis.mcs.devices

Examples of com.volantis.mcs.devices.DeviceRepositoryException


            } else {
                logger = null;
            }
            return new DefaultDeviceRepository(repository, accessor, logger);
        } catch (RepositoryException e) {
            throw new DeviceRepositoryException(e);
        }
    }
View Full Code Here


                logger = null;
            }
            return new DefaultDeviceRepository(repository, accessor,
                configuration.getAllowExperimentalPolicies(), logger);
        } catch (RepositoryException e) {
            throw new DeviceRepositoryException(e);
        }
    }
View Full Code Here

                        nameToDescriptor.put(policyName, descriptor);
                    } finally {
                        repository.disconnect(connection);
                    }
                } catch (RepositoryException e) {
                    throw new DeviceRepositoryException(e);
                }
            }
        }

        return descriptor;
View Full Code Here

        // Lazy load the cache of accessible policy names if necessary.
        if (cachedPolicyNames == null) {
            try {
                cachedPolicyNames = calculatePolicyNames();
            } catch (RepositoryException e) {
                throw new DeviceRepositoryException(e);
            }
        }
        return cachedPolicyNames;
    }
View Full Code Here

                        DevicesHelper.getDevice(connection, deviceName, accessor);
              } finally {
                    repository.disconnect(connection);
                }
            } catch (RepositoryException e) {
                throw new DeviceRepositoryException(e);
            }
        }

        return device;
    }
View Full Code Here

                                                            deviceNamePattern);
                } finally {
                    repository.disconnect(connection);
                }
            } catch (RepositoryException e) {
                throw new DeviceRepositoryException(e);
            }
        }
        return devices;
    }
View Full Code Here

                    repository.disconnect(connection);
                }
            } catch (NumberFormatException nfe) {
                throw new IllegalArgumentException(imei + " is not a valid IMEI");
            } catch (RepositoryException re) {
                throw new DeviceRepositoryException(re);
            }
            if (devName == null) {
                if (unknownDevicesLogger != null) {
                    try {
                        unknownDevicesLogger.appendEntry(
View Full Code Here

                    repository.disconnect(connection);
                }
            } catch (NumberFormatException nfe) {
                throw new IllegalArgumentException(tac + " is not a valid TAC");
            } catch (RepositoryException re) {
                throw new DeviceRepositoryException(re);
            }
            if (devName == null) {
                if (unknownDevicesLogger != null) {
                    try {
                        unknownDevicesLogger.appendEntry(
View Full Code Here

                }
            } catch (NumberFormatException nfe) {
                throw new IllegalArgumentException(tacfac +
                        " is not a valid TAC/FAC combination");
            } catch (RepositoryException re) {
                throw new DeviceRepositoryException(re);
            }
            if (devName == null) {
                if (unknownDevicesLogger != null) {
                    try {
                        unknownDevicesLogger.appendEntry(
View Full Code Here

            try {
                deviceName = DevicesHelper.getDeviceName(accessor,
                        DevicesHelper.UAPROF_PREFIX,
                        uaprofUrl.toExternalForm(), null);
            } catch (RepositoryException e) {
                throw new DeviceRepositoryException(e);
            }
            if (deviceName == null) {
                if (unknownDevicesLogger != null) {
                    try {
                        unknownDevicesLogger.appendEntry(
View Full Code Here

TOP

Related Classes of com.volantis.mcs.devices.DeviceRepositoryException

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.