Class AbaRouteValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.cardatechnologies.utils.validators.abaroutevalidator.exceptions.AbaRouteValidationException
All Implemented Interfaces:
Serializable

public class AbaRouteValidationException extends Exception
Description:
This exception represents an error encountered while validating an ABA Routing Transit Number.
Author:
Daniel Carda

Maintenance History:
    yyyy mm dd  Who                       Description
    ----------  ------------------------  ----------------------------------------------------
    2026/09/17  Daniel Carda              Updated code.  New Class Header.

See Also:
  • Constructor Details

    • AbaRouteValidationException

      public AbaRouteValidationException(ErrorCodes errorCode)
      Constructs an ABA routing validation exception.
      Parameters:
      errorCode - The enumeration identifying the validation error.
    • AbaRouteValidationException

      public AbaRouteValidationException(ErrorCodes errorCode, Throwable cause)
      Constructs an ABA routing validation exception with an underlying cause.
      Parameters:
      errorCode - The enumeration identifying the validation error.
      cause - The underlying cause of the exception.
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Returns the numeric error code.
      Returns:
      The numeric error code.