1 package no.feide.moria.servlet.soap;
2
3
4 /***
5 * Signals to the remote service that Moria has internal problems.
6 * @author Cato Olsen
7 */
8 public class InternalException
9 extends ServerException {
10
11
12 /***
13 * Default constructor.
14 * @param msg The exception message.
15 */
16 public InternalException(final String msg) {
17
18 super(msg);
19
20 }
21
22
23 /***
24 * This exception's SOAP Faultstring.
25 * @return The Faultstring, in this case
26 * <code>"MORIA INTERNAL"</code>.
27 */
28 public String getFaultstring() {
29
30 return new String("MORIA INTERNAL");
31
32 }
33
34 }