org.filteredpush.mapper.exception
Class MissingInformationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.filteredpush.mapper.exception.MissingInformationException
All Implemented Interfaces:
java.io.Serializable

public class MissingInformationException
extends java.lang.Exception

An exception indicating some information is missing to complete the database insert or update request. E.g., the information to create higher taxon is needed when a taxon is inserted and its higher taxon doesn't exist.

Author:
Lei Dou $Id:$
See Also:
Serialized Form

Constructor Summary
MissingInformationException(java.lang.String message, java.lang.String typeName, java.lang.String id, java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> fields)
           
 
Method Summary
 java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> getFields()
           
 java.lang.String getId()
           
 java.lang.String getTypeName()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingInformationException

public MissingInformationException(java.lang.String message,
                                   java.lang.String typeName,
                                   java.lang.String id,
                                   java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> fields)
Method Detail

getTypeName

public java.lang.String getTypeName()

getId

public java.lang.String getId()

getFields

public java.util.List<org.filteredpush.data.definition.BasicFieldDefinition> getFields()