Class AbaRouteValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.cardatechnologies.utils.validators.abaroutevalidator.exceptions.AbaRouteValidationException
- All Implemented Interfaces:
Serializable
Description:
This class is used throwing error messages relating to the ABA Routing code.
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 Summary
ConstructorsConstructorDescriptionAbaRouteValidationException
(int errorCode, String errorMessage) Constructs ...Constructs ... -
Method Summary
Modifier and TypeMethodDescriptionint
Method: getErrorCodeMethod: getErrorMessagevoid
setErrorCode
(int errorCode) Method: setErrorCodevoid
setErrorMessage
(String errorMessage) Method: setErrorMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbaRouteValidationException
Constructs ...- Parameters:
cause
- Throwable reason.
-
AbaRouteValidationException
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
Method: getErrorMessage- Returns:
- String A text description of the error.
-
setErrorMessage
Method: setErrorMessage- Parameters:
errorMessage
- A textual message about the error.
-