View Javadoc

1   package no.feide.moria.servlet.soap;
2   
3   
4   /***
5    * Signals to the remote service that a parameter did not have the proper
6    * syntax.
7    * @author Cato Olsen
8    */
9   public class IllegalInputException
10  extends ClientException {
11      
12   
13      /***
14       * Default constructor.
15       * @param msg The exception message.
16       */
17      public IllegalInputException(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>"ILLEGAL INPUT"</code>.
27       */
28      public String getFaultstring() {
29          
30          return new String("ILLEGAL INPUT");
31          
32      }
33  
34  }