Ignore:
Timestamp:
09/30/11 11:01:52 (13 years ago)
Author:
gaba
Message:

simple changes, exception for CQL parse error added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/proxy/BasicProxy.java

    r1541 r1569  
    88import org.apache.log4j.Logger;
    99import eu.clarin.cmdi.mdservice.action.GenericAction;
     10import eu.clarin.cmdi.mdservice.internal.CQLParseException;
    1011import eu.clarin.cmdi.mdservice.internal.NoStylesheetException;
    1112import eu.clarin.cmdi.mdservice.internal.Utils;
     
    9192         * uses base_url + url_pattern (parametrized by actionkey) to form a url
    9293         * @return the full target-request URL to be sent to the target repository
     94         * @throws CQLParseException
    9395         * @throws Exception
    9496         */     
    95         public URL getTargetRequest() throws IOException {
     97        public URL getTargetRequest() throws IOException, CQLParseException {
    9698                 
    9799                URL targetURL =new URL(getBaseURI() + this.getSourceAction().getTargetRequestParams());
     
    102104        }
    103105
    104         public InputStream getSourceStream() throws IOException, NoStylesheetException {
     106        public InputStream getSourceStream() throws IOException, NoStylesheetException, CQLParseException {
    105107                URLConnection urlConnection = getTargetRequest().openConnection();
    106108                getSourceAction().setRequestProperties(urlConnection);
Note: See TracChangeset for help on using the changeset viewer.