1 package no.feide.moria.servlet.soap;
2
3 /***
4 * The base class for all exceptions signalled through the SOAP interface.
5 */
6 public abstract class SOAPException
7 extends Exception {
8
9 /***
10 * Default constructor.
11 * @param msg The exception message.
12 */
13 public SOAPException(final String msg) {
14
15 super(msg);
16
17 }
18
19 /***
20 * Gives the SOAP Faultcode for the exception (the value of the
21 * <code>faultCode</code> element in the SOAP reply).
22 * @return The SOAP Faultcode for the exception.
23 */
24 public abstract String getFaultcode();
25
26
27 /***
28 * Gives the SOAP Faultstring for the exception (the value of the
29 * <code>faultString</code> element in the SOAP reply).
30 * @return The SOAP Faultstring for the exception.
31 */
32 public abstract String getFaultstring();
33
34 }