com.npdbhipdb
Class QRXS.ErrorFile

java.lang.Object
  extended by com.npdbhipdb.QRXS.ErrorFile
Enclosing class:
QRXS

public class QRXS.ErrorFile
extends java.lang.Object

Encapsulate processing error file name and associated error code. The file had the specified error and was not processed.


Constructor Summary
QRXS.ErrorFile(java.lang.String code, java.lang.String filename)
          Constructor using code and filename
 
Method Summary
 java.lang.String getCode()
          Return Error code for the file
 java.lang.String[] getErrorMessages()
           
 java.lang.String getFilename()
          Return name of file that could not be processed
 void setErrorMessages(org.apache.commons.httpclient.HeaderElement[] msgHeaders)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QRXS.ErrorFile

public QRXS.ErrorFile(java.lang.String code,
                      java.lang.String filename)
Constructor using code and filename

Parameters:
code - Error code
filename - Filename
Method Detail

getCode

public java.lang.String getCode()
Return Error code for the file

Returns:
code

getFilename

public java.lang.String getFilename()
Return name of file that could not be processed

Returns:
Filename of file that could not be processed

setErrorMessages

public void setErrorMessages(org.apache.commons.httpclient.HeaderElement[] msgHeaders)

getErrorMessages

public java.lang.String[] getErrorMessages()