View Javadoc

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