org.marc4j
Class ErrorHandler.Error

java.lang.Object
  extended by org.marc4j.ErrorHandler.Error
Enclosing class:
ErrorHandler

public class ErrorHandler.Error
extends Object


Field Summary
protected  String curField
           
protected  String curRecordID
           
protected  String curSubfield
           
protected  String message
           
protected  int severity
           
 
Constructor Summary
protected ErrorHandler.Error(String recordID, String field, String subfield, int severity, String message)
           
 
Method Summary
 String toString()
          Formats the error message for display
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

curRecordID

protected String curRecordID

curField

protected String curField

curSubfield

protected String curSubfield

severity

protected int severity

message

protected String message
Constructor Detail

ErrorHandler.Error

protected ErrorHandler.Error(String recordID,
                             String field,
                             String subfield,
                             int severity,
                             String message)
Method Detail

toString

public String toString()
Formats the error message for display

Overrides:
toString in class Object
Returns:
String - a formatted representation of the error.


Copyright © 2002-2006 Bas Peters. All Rights Reserved.