org.obe.xpdl.serializer
Class ElementRequiredException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.obe.OBEException
              extended byorg.obe.xpdl.serializer.XPDLSerializerException
                  extended byorg.obe.xpdl.serializer.ElementRequiredException
All Implemented Interfaces:
java.io.Serializable

public class ElementRequiredException
extends XPDLSerializerException

Exception which is thrown when an element is required and is missing.

Author:
Anthony Eden
See Also:
Serialized Form

Constructor Summary
ElementRequiredException(java.lang.String elementName)
          Construct a new ElementRequiredException.
ElementRequiredException(java.lang.String elementName, java.lang.String message)
          Construct a new ElementRequiredException.
 
Method Summary
 java.lang.String getElementName()
          Return the name of the missing element.
 
Methods inherited from class org.obe.OBEException
getCause, printStackTrace, printStackTrace, printStackTrace
 
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
 

Constructor Detail

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 name
message - The error message
Method Detail

getElementName

public java.lang.String getElementName()
Return the name of the missing element.

Returns:
The missing element name


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.