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 class is used throwing error messages relating to the ABA Routing code.
Author:
Daniel Carda

Maintenance History:
    yyyy mm dd  Who                       Description
----------  ------------------------  ----------------------------------------------------
    2015/04/15  Daniel Carda              Initial Module Creation...
    2020/12/22  Daniel Carda              Improved internal error handling.
    2021/08/01  Daniel Carda              Improved Class Javadocs

See Also:
  • Constructor Details

    • AbaRouteValidationException

      public AbaRouteValidationException(Throwable cause)
      Constructs ...
      Parameters:
      cause - Throwable reason.
    • AbaRouteValidationException

      public AbaRouteValidationException(int errorCode, String errorMessage)
      Constructs ...
      Parameters:
      errorCode - The integer code associated with this error.
      errorMessage - A textual message about the error.
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Method: getErrorCode
      Returns:
      int The integer code associated with this error.
    • setErrorCode

      public void setErrorCode(int errorCode)
      Method: setErrorCode
      Parameters:
      errorCode - The integer code associated with this error.
    • getErrorMessage

      public String getErrorMessage()
      Method: getErrorMessage
      Returns:
      String A text description of the error.
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
      Method: setErrorMessage
      Parameters:
      errorMessage - A textual message about the error.