org.jlf.dataMap
Class RequiredAttributeNotPresent

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.jlf.log.AppError
                          |
                          +--org.jlf.dataMap.DataMapError
                                |
                                +--org.jlf.dataMap.RequiredAttributeNotPresent
All Implemented Interfaces:
java.io.Serializable

public class RequiredAttributeNotPresent
extends DataMapError

This class is to be used for throwing data mapping related exceptions.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jlf.dataMap.DataMapError
attributeName, dataMappedObject
 
Fields inherited from class org.jlf.log.AppError
originalThrownObject
 
Constructor Summary
RequiredAttributeNotPresent(DataMappedObject dmo, java.lang.String attribute)
          Constructor accepting a message, a Throwable object, and logging information.
 
Method Summary
 java.lang.String toString()
          Returns a String representing the AppError information.
 
Methods inherited from class org.jlf.log.AppError
getOriginalThrownObject, getStackTraceAsString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequiredAttributeNotPresent

public RequiredAttributeNotPresent(DataMappedObject dmo,
                                   java.lang.String attribute)
Constructor accepting a message, a Throwable object, and logging information. Use this message to automatically construct the exception, generate message text and a stack trace, and log it all to the log and logging level given as input.

Method Detail

toString

public java.lang.String toString()
Returns a String representing the AppError information.

Overrides:
toString in class DataMapError