Package org.apache.slide.common

Examples of org.apache.slide.common.ServiceAccessException


            try {
                ResourceId resourceId = obtainResourceId(uri);
                resourceId.getStore().removeRevisionContent(resourceId, revisionDescriptor);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here


    protected ServiceAccessException createException(Exception e, Uri uri) {
        getLogger().log(
            "Error  on " + uri.toString() + ": " + e.getMessage(),
            LOG_CHANNEL,
            Logger.ERROR);
        return new ServiceAccessException(service, e);
    }
View Full Code Here

                + uri.toString()
                + ": "
                + e.getMessage(),
            LOG_CHANNEL,
            Logger.ERROR);
        return new ServiceAccessException(service, e);
    }
View Full Code Here

                delist(nodeStore);
                throw e;
            } catch (Throwable t) {
                delist(nodeStore, false);
                // Wrap everything else in a ServiceAccessException
                throw new ServiceAccessException(nodeStore, t);
            }
            delist(nodeStore);
        } else {
            try {
                objectNode = nodeStore.retrieveObject(uri);
            } catch (ServiceAccessException e) {
                throw e;
            } catch (ObjectNotFoundException e) {
                throw e;
            } catch (Throwable t) {
                // Wrap everything else in a ServiceAccessException
                throw new ServiceAccessException(nodeStore, t);
            }
        }
        objectNode.validate(uri.toString());
        return objectNode;
    }
View Full Code Here

            delist(nodeStore);
            throw e;
        } catch (Throwable t) {
            delist(nodeStore, false);
            // Wrap everything else in a ServiceAccessException
            throw new ServiceAccessException(contentStore, t);
        }
        delist(nodeStore);
    }
View Full Code Here

            delist(nodeStore);
            throw e;
        } catch (Throwable t) {
            delist(nodeStore, false);
            // Wrap everything else in a ServiceAccessException
            throw new ServiceAccessException(nodeStore, t);
        }
        delist(nodeStore);
    }
View Full Code Here

            delist(nodeStore);
            throw e;
        } catch (Throwable t) {
            delist(nodeStore, false);
            // Wrap everything else in a ServiceAccessException
            throw new ServiceAccessException(nodeStore, t);
        }
        delist(nodeStore);
    }
View Full Code Here

            delist(securityStore, false);
            throw e;
        } catch (Throwable t) {
            delist(securityStore, false);
            // Wrap everything else in a ServiceAccessException
            throw new ServiceAccessException(securityStore, t);
        }
        delist(securityStore);
    }
View Full Code Here

            delist(securityStore, false);
            throw e;
        } catch (Throwable t) {
            delist(securityStore, false);
            // Wrap everything else in a ServiceAccessException
            throw new ServiceAccessException(securityStore, t);
        }
        delist(securityStore);
    }
View Full Code Here

            delist(securityStore, false);
            throw e;
        } catch (Throwable t) {
            delist(securityStore, false);
            // Wrap everything else in a ServiceAccessException
            throw new ServiceAccessException(securityStore, t);
        }
        delist(securityStore);
    }
View Full Code Here

TOP

Related Classes of org.apache.slide.common.ServiceAccessException

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.