1 /* $Id: HttpApplicationException.java,v 1.4 2004/09/01 15:42:26 jdt Exp $
2 * Created on Jul 27, 2004
3 * Copyright (C) 2004 AstroGrid. All rights reserved.
4 *
5 * This software is published under the terms of the AstroGrid
6 * Software License version 1.2, a copy of which has been included
7 * with this distribution in the LICENSE.txt file.
8 */
9 ///CLOVER:OFF
10 package org.astrogrid.applications.http.exceptions;
11
12 import java.io.PrintStream;
13 import java.io.PrintWriter;
14
15 /***
16 * A superinterface, just in case you want to just catch HttpApplicationExceptions
17 * It mirrors all the methods in Throwable.
18 * @author jdt
19 */
20 public interface HttpApplicationException {
21 /* (non-Javadoc)
22 * @see java.lang.Throwable#fillInStackTrace()
23 */
24 public Throwable fillInStackTrace();
25 /* (non-Javadoc)
26 * @see java.lang.Throwable#getCause()
27 */
28 public Throwable getCause() ;
29 /* (non-Javadoc)
30 * @see java.lang.Throwable#getLocalizedMessage()
31 */
32 public String getLocalizedMessage() ;
33 /* (non-Javadoc)
34 * @see java.lang.Throwable#getMessage()
35 */
36 public String getMessage() ;
37 /* (non-Javadoc)
38 * @see java.lang.Throwable#getStackTrace()
39 */
40 public StackTraceElement[] getStackTrace();
41 /* (non-Javadoc)
42 * @see java.lang.Throwable#initCause(java.lang.Throwable)
43 */
44 public Throwable initCause(Throwable arg0) ;
45 /* (non-Javadoc)
46 * @see java.lang.Throwable#printStackTrace()
47 */
48 public void printStackTrace() ;
49 /* (non-Javadoc)
50 * @see java.lang.Throwable#printStackTrace(java.io.PrintStream)
51 */
52 public void printStackTrace(PrintStream arg0) ;
53 /* (non-Javadoc)
54 * @see java.lang.Throwable#printStackTrace(java.io.PrintWriter)
55 */
56 public void printStackTrace(PrintWriter arg0) ;
57 /* (non-Javadoc)
58 * @see java.lang.Throwable#setStackTrace(java.lang.StackTraceElement[])
59 */
60 public void setStackTrace(StackTraceElement[] arg0) ;
61 /* (non-Javadoc)
62 * @see java.lang.Object#toString()
63 */
64 public String toString() ;
65
66 }
67
68 /*
69 * $Log: HttpApplicationException.java,v $
70 * Revision 1.4 2004/09/01 15:42:26 jdt
71 * Merged in Case 3
72 *
73 * Revision 1.1.4.1 2004/07/27 17:20:25 jdt
74 * merged from applications_JDT_case3
75 *
76 * Revision 1.1.2.3 2004/07/27 17:12:44 jdt
77 * refactored exceptions and finished tests for HttpServiceClient
78 *
79 */