View Javadoc

1   package no.feide.moria.servlet.soap;
2   
3   
4   /***
5    * Signals to the remote service that the ticket used in the SOAP operation
6    * was unknown to Moria.
7    * @author Cato Olsen
8    */
9   public class UnknownTicketException
10  extends ClientException {
11      
12     
13      /***
14       * Default constructor.
15       * @param msg The exception message.
16       */
17      public UnknownTicketException(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>"UNKNOWN TICKET"</code>.
27       */
28      public String getFaultstring() {
29          
30          return new String("UNKNOWN TICKET");
31          
32      }
33  
34  }