Package 

Class BranchError


  • 
    public class BranchError
    
                        

    Returns a general error if the server back-end is down.

    • Constructor Detail

      • BranchError

        BranchError(String failMsg, int statusCode)
    • Method Detail

      • getErrorCode

         int getErrorCode()

        Returns an error code for this Branch Error.

      • toString

         String toString()

        Overridden toString method for this object; returns the error message rather than theobject's address.