Class ISOVError

java.lang.Object
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

  • Field Details

  • Constructor Details

    • ISOVError

      public ISOVError(String Description)
      Constructs an error with the given description.
      Parameters:
      Description - the error description
    • ISOVError

      public ISOVError(String Description, String RejectCode)
      Constructs an error with description and reject code.
      Parameters:
      Description - the error description
      RejectCode - the rejection code
  • Method Details

    • getRejectCode

      Returns the rejection code.
      Returns:
      the reject code
    • getId

      public String getId()
      Returns the error ID.
      Returns:
      the error ID string
    • setId

      public void setId(String ID)
      Replaces the error identifier.
      Parameters:
      ID - error identifier
    • getDescription

      Returns the error description.
      Returns:
      the description