1 package no.feide.moria.servlet.soap;
2
3
4 /***
5 * Signals to the remote service that an operation was attempted, or parameters
6 * were used, that the service was not authorized for.
7 * @author Cato Olsen
8 */
9 public class AuthorizationFailedException
10 extends ClientException {
11
12
13 /***
14 * Default constructor.
15 * @param msg The exception message.
16 */
17 public AuthorizationFailedException(final String msg) {
18
19 super(msg);
20
21 }
22
23 /***
24 * This exception's SOAP Faultstring.
25 * @return The Faultstring, in this case
26 * <code>"AUTHORIZATION FAILED"</code>.
27 */
28 public String getFaultstring() {
29
30 return new String("AUTHORIZATION FAILED");
31
32 }
33
34 }