Package org.swordapp.server

Examples of org.swordapp.server.SwordServerException


      // change in the spec?
        }
        catch (DSpaceSwordException e)
        {
            log.error("caught exception:", e);
            throw new SwordServerException("There was a problem depositing the item", e);
        }
    catch (SQLException e)
    {
      throw new SwordServerException(e);
    }
        finally
        {
            // this is a read operation only, so there's never any need to commit the context
            if (sc != null)
View Full Code Here


      return receipt;
        }
        catch (DSpaceSwordException e)
        {
            log.error("caught exception:", e);
            throw new SwordServerException("There was a problem depositing the item", e);
        }
        finally
        {
            // this is a read operation only, so there's never any need to commit the context
            if (sc != null)
View Full Code Here

        {
            throw new SwordAuthException();
        }
        catch (SQLException e)
        {
            throw new SwordServerException(e);
        }
        catch (DSpaceSwordException e)
        {
            throw new SwordServerException(e);
        }
        finally
        {
            if (sc != null)
            {
View Full Code Here

      return receipt;
    }
    catch (DSpaceSwordException e)
    {
      log.error("caught exception:", e);
      throw new SwordServerException("There was a problem depositing the item", e);
    }
    finally
    {
      // this is a read operation only, so there's never any need to commit the context
      if (sc != null)
View Full Code Here

      Feed feed = this.itemListToFeed(sc, items, swordConfig);
      return feed;
    }
    catch (DSpaceSwordException e)
    {
      throw new SwordServerException(e);
    }
    finally
        {
            // this is a read operation only, so there's never any need to commit the context
            if (sc != null)
View Full Code Here

      return this.getServiceDocument(sc, sdUri, (SwordConfigurationDSpace) config);
    }
    catch (DSpaceSwordException e)
    {
      log.error("caught exception: ", e);
      throw new SwordServerException("The DSpace SWORD interface experienced an error", e);
    }
    finally
    {
      // this is a read operation only, so there's never any need to commit the context
            if (sc != null)
View Full Code Here

TOP

Related Classes of org.swordapp.server.SwordServerException

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.