KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openlaszlo > xml > internal > MissingAttributeException


1 /* *****************************************************************************
2  * MissingAttributeException.java
3  * ****************************************************************************/

4
5 /* J_LZ_COPYRIGHT_BEGIN *******************************************************
6 * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
7 * Use is subject to license terms. *
8 * J_LZ_COPYRIGHT_END *********************************************************/

9
10 package org.openlaszlo.xml.internal;
11 import org.jdom.Element;
12
13 /**
14  * MissingAttributeException
15  *
16  * @author Oliver Steele
17  */

18 public class MissingAttributeException extends RuntimeException JavaDoc {
19     public MissingAttributeException(Element element, String JavaDoc aname) {
20         super(aname + " is a required attribute of " + element.getName());
21     }
22 }
23
Popular Tags