1   /*
2    * Copyright (C) The Spice Group. All rights reserved.
3    *
4    * This software is published under the terms of the Spice
5    * Software License version 1.1, a copy of which has been included
6    * with this distribution in the LICENSE.txt file.
7    */
8   package org.codehaus.spice.netserve.connection.handlers;
9   
10  import java.net.Socket;
11  
12  /***
13   *
14   * @author Peter Donald
15   * @version $Revision: 1.2 $ $Date: 2004/03/21 23:42:59 $
16   */
17  class ExceptingRequestHandler
18      extends MockRequestHandler
19  {
20      static final Exception EXCEPTION = new Exception();
21  
22      protected void doPerformRequest( Socket socket )
23          throws Exception
24      {
25          super.doPerformRequest(socket );
26          throw EXCEPTION;
27      }
28  }
29