Changeset 2216 for SRUServer


Ignore:
Timestamp:
09/12/12 10:22:30 (12 years ago)
Author:
herste
Message:

very small fix to runtime error, catch the right kind of exception :)

Location:
SRUServer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SRUServer/trunk/pom.xml

    r2215 r2216  
    55    <groupId>eu.clarin.sru</groupId>
    66    <artifactId>sru-server</artifactId>
    7     <version>1.1.0-SNAPSHOT</version>
     7    <version>1.1.1-SNAPSHOT</version>
    88    <packaging>jar</packaging>
    99    <name>SRU/CQL Server</name>
     
    2727        </dependency>
    2828
    29         <!-- Did you read the "README.txt" file and manually installed the 
     29        <!-- Did you read the "README.txt" file and manually installed the
    3030            artifact in your Maven repository? -->
    3131        <dependency>
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/utils/SRUServerServlet.java

    r2206 r2216  
    1717package eu.clarin.sru.server.utils;
    1818
     19import eu.clarin.sru.server.SRUConfigException;
     20import eu.clarin.sru.server.SRUException;
     21import eu.clarin.sru.server.SRUServer;
     22import eu.clarin.sru.server.SRUServerConfig;
     23
     24import javax.servlet.ServletConfig;
     25import javax.servlet.ServletContext;
     26import javax.servlet.ServletException;
     27import javax.servlet.http.HttpServlet;
     28import javax.servlet.http.HttpServletRequest;
     29import javax.servlet.http.HttpServletResponse;
    1930import java.io.IOException;
    2031import java.lang.reflect.Constructor;
     
    2536import java.util.HashMap;
    2637import java.util.Map;
    27 
    28 import javax.servlet.ServletConfig;
    29 import javax.servlet.ServletContext;
    30 import javax.servlet.ServletException;
    31 import javax.servlet.http.HttpServlet;
    32 import javax.servlet.http.HttpServletRequest;
    33 import javax.servlet.http.HttpServletResponse;
    34 
    35 import eu.clarin.sru.server.SRUConfigException;
    36 import eu.clarin.sru.server.SRUException;
    37 import eu.clarin.sru.server.SRUServer;
    38 import eu.clarin.sru.server.SRUServerConfig;
    3938
    4039
     
    172171             */
    173172            contextPath = ctx.getContextPath();
    174         } catch (RuntimeException e) {
     173        } catch (NoSuchMethodError e) {
    175174            /*
    176175             * if we fail, put at least something here ...
Note: See TracChangeset for help on using the changeset viewer.