View Javadoc

1   /* $Id: HttpApplicationWebServiceException.java,v 1.4 2004/09/01 15:42:26 jdt Exp $
2    * Copyright (C) AstroGrid. All rights reserved.
3    *
4    * This software is published under the terms of the AstroGrid 
5    * Software License version 1.2, a copy of which has been included 
6    * with this distribution in the LICENSE.txt file.  
7    */
8   ///CLOVER:OFF 
9   package org.astrogrid.applications.http.exceptions;
10  
11  import java.io.IOException;
12  
13  /***
14   * Exceptions caused by problems connecting to the webservice
15   * @author jdt
16   */
17  public abstract class HttpApplicationWebServiceException extends IOException implements HttpApplicationException {
18  
19      /***
20       * Constructor
21       *
22       * 
23       */
24      public HttpApplicationWebServiceException() {
25          super();
26      }
27      /***
28       * Constructor
29       *
30       * @param arg0
31       */
32      public HttpApplicationWebServiceException(String arg0) {
33          super(arg0);
34      }
35      
36      /***
37       * Constructor
38       * For somereason IOException doesn't provide this
39       * So we roll our own.
40       * @param string fault description
41       * @param e original exception
42       */
43      public HttpApplicationWebServiceException(String string, IOException e) {
44          this(string + "\n" + e.getMessage());
45      }
46  }
47  
48  /* 
49   * $Log: HttpApplicationWebServiceException.java,v $
50   * Revision 1.4  2004/09/01 15:42:26  jdt
51   * Merged in Case 3
52   *
53   * Revision 1.1.4.1  2004/07/27 17:20:25  jdt
54   * merged from applications_JDT_case3
55   *
56   * Revision 1.1.2.1  2004/07/27 17:12:44  jdt
57   * refactored exceptions and finished tests for HttpServiceClient
58   *
59   * Revision 1.1.2.2  2004/07/26 16:20:30  jdt
60   * Added some tests.
61   *
62   * Revision 1.1.2.1  2004/07/24 17:16:16  jdt
63   * Borrowed from javaclass application....stealing is always quicker.
64   *
65   */