net.sf.jmatchparser.util.csv.fieldreader
Class FieldReaderException.FieldReaderExceptionInfo<K,V>

java.lang.Object
  extended by net.sf.jmatchparser.util.csv.fieldreader.FieldReaderException.FieldReaderExceptionInfo<K,V>
Type Parameters:
K - Type of the fields of the field reader
V - Type of the values of the field reader
Enclosing class:
FieldReaderException

public static class FieldReaderException.FieldReaderExceptionInfo<K,V>
extends Object

Additional information about a field reader exception. Placed into a nested class since Exceptions may not have generic arguments.


Constructor Summary
FieldReaderException.FieldReaderExceptionInfo(K field, V value, Map<K,V> originalRecord)
          Create a new FieldReaderExceptionInfo instance.
 
Method Summary
 K getField()
          Return the field.
 Map<K,V> getOriginalRecord()
          Return all the other fields available.
 V getValue()
          Return the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldReaderException.FieldReaderExceptionInfo

public FieldReaderException.FieldReaderExceptionInfo(K field,
                                                     V value,
                                                     Map<K,V> originalRecord)
Create a new FieldReaderExceptionInfo instance.

Parameters:
field - Field that caused the exception
value - Value of that field
originalRecord - All fields as available at that state of parsing
Method Detail

getField

public K getField()
Return the field.


getValue

public V getValue()
Return the value.


getOriginalRecord

public Map<K,V> getOriginalRecord()
Return all the other fields available.



Copyright © 2011. All Rights Reserved.