01: /* *****************************************************************************
02: * MissingAttributeException.java
03: * ****************************************************************************/
04:
05: /* J_LZ_COPYRIGHT_BEGIN *******************************************************
06: * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
07: * Use is subject to license terms. *
08: * J_LZ_COPYRIGHT_END *********************************************************/
09:
10: package org.openlaszlo.xml.internal;
11:
12: import org.jdom.Element;
13:
14: /**
15: * MissingAttributeException
16: *
17: * @author Oliver Steele
18: */
19: public class MissingAttributeException extends RuntimeException {
20: public MissingAttributeException(Element element, String aname) {
21: super (aname + " is a required attribute of "
22: + element.getName());
23: }
24: }
|