org.jpos.iso
Class ISOVError

java.lang.Object
  extended by org.jpos.iso.ISOVError

public class ISOVError
extends Object

Base validation-error class. Contains a reference to error details. Error description, Error reject code: optional code used in some financial systems to specifya field reject code. It refer to error. Error Id: A string of " " separated ids. The ids are the fields, subfields, ... ids for the component with error. For example: id="48 0 1" indicates the error was in field 48, subfield 0, subfield 1.

Title: jPOS

Description: Java Framework for Financial Systems

Copyright: Copyright (c) 2000 jPOS.org. All rights reserved.

Company: www.jPOS.org

Version:
1.0
Author:
Jose Eduardo Leon

Field Summary
protected  String description
           
static int ERR_INVALID_LENGTH
          default error types
static int ERR_INVALID_VALUE
           
protected  String id
          Used by error parsers to set field tree path
protected  String rejectCode
           
 
Constructor Summary
ISOVError(String Description)
           
ISOVError(String Description, String RejectCode)
           
 
Method Summary
 String getDescription()
           
 String getId()
           
 String getRejectCode()
           
 void setId(String ID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id
Used by error parsers to set field tree path


description

protected String description

rejectCode

protected String rejectCode

ERR_INVALID_LENGTH

public static final int ERR_INVALID_LENGTH
default error types

See Also:
Constant Field Values

ERR_INVALID_VALUE

public static final int ERR_INVALID_VALUE
See Also:
Constant Field Values
Constructor Detail

ISOVError

public ISOVError(String Description)

ISOVError

public ISOVError(String Description,
                 String RejectCode)
Method Detail

getRejectCode

public String getRejectCode()

getId

public String getId()

setId

public void setId(String ID)

getDescription

public String getDescription()


Copyright © 1998-2012 jPOS.org. All Rights Reserved.