01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: MandatoryPropertyMissingException.java 3643 2007-01-12 15:29:45Z gbevin $
07: */
08: package com.uwyn.rife.ioc.exceptions;
09:
10: public class MandatoryPropertyMissingException extends
11: PropertyValueException {
12: private static final long serialVersionUID = -2438475921094369181L;
13:
14: private String mPropertyName = null;
15:
16: public MandatoryPropertyMissingException(String propertyName) {
17: super ("The mandatory property '" + propertyName
18: + "' is missing.");
19:
20: mPropertyName = propertyName;
21: }
22:
23: public String getPropertyName() {
24: return mPropertyName;
25: }
26: }
|