org.obe.xpdl.parser
Class ElementRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.obe.OBEException
org.obe.xpdl.parser.XPDLParserException
org.obe.xpdl.parser.ElementRequiredException
- All Implemented Interfaces:
- java.io.Serializable
- public class ElementRequiredException
- extends XPDLParserException
Exception which is thrown when an element is required and is missing.
- Author:
- Anthony Eden
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getElementName()
Return the name of the missing element. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ElementRequiredException
public ElementRequiredException(java.lang.String elementName)
- Construct a new ElementRequiredException.
- Parameters:
elementName
- The element name
ElementRequiredException
public ElementRequiredException(java.lang.String elementName,
java.lang.String message)
- Construct a new ElementRequiredException.
- Parameters:
elementName
- The element namemessage
- The error message
getElementName
public java.lang.String getElementName()
- Return the name of the missing element.
- Returns:
- The missing element name
OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.