View Javadoc

1   
2   /*
3   * The contents of this file are subject to the BT "ZEUS" Open Source 
4   * Licence (L77741), Version 1.0 (the "Licence"); you may not use this file 
5   * except in compliance with the Licence. You may obtain a copy of the Licence
6   * from $ZEUS_INSTALL/licence.html or alternatively from
7   * http://www.labs.bt.com/projects/agents/zeus/licence.htm
8   * 
9   * Except as stated in Clause 7 of the Licence, software distributed under the
10  * Licence is distributed WITHOUT WARRANTY OF ANY KIND, either express or 
11  * implied. See the Licence for the specific language governing rights and 
12  * limitations under the Licence.
13  * 
14  * The Original Code is within the package zeus.*.
15  * The Initial Developer of the Original Code is British Telecommunications
16  * public limited company, whose registered office is at 81 Newgate Street, 
17  * London, EC1A 7AJ, England. Portions created by British Telecommunications 
18  * public limited company are Copyright 1996-2001. All Rights Reserved.
19  * 
20  * THIS NOTICE MUST BE INCLUDED ON ANY COPY OF THIS FILE
21  */
22  package zeus.actors.outtrays; 
23  
24  public class UnsuitableMessageException extends Exception{ 
25      
26     private String reason = null; 
27     
28     public UnsuitableMessageException (String reason) { 
29      super(); 
30      this.reason = reason; 
31     }
32     
33     
34     public String getReason(){
35      
36      return reason;
37     }
38      
39      
40  }