org.edg.data.util
Class MissingReplacementValueException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.edg.data.util.DataError
                          |
                          +--org.edg.data.util.MissingReplacementValueException
All Implemented Interfaces:
java.io.Serializable

public class MissingReplacementValueException
extends DataError

This is an unckecked runtime error, i.e. you dont need to check for/declare it unless you want to in each method in the calling stack. This means you can catch only if you think there will be a problem - e.g. dynamic creation of the set of values used in the replacement.

Version:
$ Id:$
Author:
James Casey
See Also:
Serialized Form

Constructor Summary
MissingReplacementValueException(java.lang.String key)
           
MissingReplacementValueException(java.lang.String key, java.lang.String message)
           
 
Method Summary
 java.lang.String getKey()
          Get the name of the missing key
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingReplacementValueException

public MissingReplacementValueException(java.lang.String key,
                                        java.lang.String message)

MissingReplacementValueException

public MissingReplacementValueException(java.lang.String key)
Method Detail

getKey

public java.lang.String getKey()
Get the name of the missing key