01: /*
02: * Primitive Collections for Java.
03: * Copyright (C) 2002 S�ren Bak
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation; either
08: * version 2.1 of the License, or (at your option) any later version.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library; if not, write to the Free Software
17: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18: */
19: package com.uwyn.rife.pcj.map;
20:
21: /**
22: * Thrown to indicate that an attempt was made to retrieve a
23: * non-existing mapping in a map.
24: *
25: * @author Søren Bak
26: * @version 1.0 2002/30/12
27: * @since 1.0
28: */
29: public class NoSuchMappingException extends RuntimeException {
30:
31: private static final long serialVersionUID = -4618801912815877585L;
32:
33: /**
34: * Creates a new exception with a specified detail message.
35: * The message indicates the key of the mapping that was
36: * not available.
37: *
38: * @param s
39: * the detail message.
40: *
41: * @throws NullPointerException
42: * if <tt>s</tt> is <tt>null</tt>.
43: */
44: public NoSuchMappingException(String s) {
45: super(s);
46: }
47:
48: }
|