Package org.dspace.sword.client.exceptions

Examples of org.dspace.sword.client.exceptions.HttpException


            return sd;
        }
        else
        {
            log.info("Error retrieving Sword Service Document from " + serviceDocUrl);
            throw new HttpException("No service document available - Http status code " + status);
        }
    }
View Full Code Here


        }
        else
        {
            String error = status.getCode() + " " + status.getMessage() + " - " + resp.getEntry().getSummary().getContent();
      log.info("Error depositing Sword package : " + error);
            throw new HttpException(error);
        }

    }
View Full Code Here

TOP

Related Classes of org.dspace.sword.client.exceptions.HttpException

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.