View Javadoc

1   /*
2    * @(#)NoSuchFieldException.java    
3    *
4    * Copyright 1995-1998 by Sun Microsystems, Inc.,
5    * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
6    * All rights reserved.
7    * 
8    * This software is the confidential and proprietary information
9    * of Sun Microsystems, Inc. ("Confidential Information").  You
10   * shall not disclose such Confidential Information and shall use
11   * it only in accordance with the terms of the license agreement
12   * you entered into with Sun.
13   */
14  
15  package org.paneris.jal.model;
16  
17  /**
18   * Thrown by the <code>get</code> method of an 
19   * <code>ExtendedHash</code> to indicate that the 
20   * field did not exist in the Hash.
21   *
22   * @author  timp
23   * @see     org.paneris.jal.model.DDField
24   * @see     org.paneris.util.ExtendedHash#get(Object)
25   * @since   JAL 0.0001
26   */
27  public
28  class NoSuchFieldException extends RuntimeException {
29    private static final long serialVersionUID = 1L;
30  
31      /**
32       * Constructs a <code>NoSuchFieldException</code> with no detail message.
33       *
34       */
35      public NoSuchFieldException() {
36      super();
37      }
38  
39      /**
40       * Constructs a <code>NoSuchFieldException</code> with the 
41       * specified detail message. 
42       *
43       * @param   s   the detail message.
44       */
45      public NoSuchFieldException(String s) {
46      super(s);
47      }
48  }