/
Return Codes

Return Codes

public static final int ERR_INVREQ      = -100;
    public static final int ERR_INVUSERNAME = -101; When no username is passed in
    public static final int ERR_INVPASSWD   = -102; When no password is passed in
    public static final int ERR_INVDOCID    = -103; When no documentId is passed in
    public static final int ERR_INVXML      = -110;  incoming XML document format incorrect

    public static final int ERR_INVAAA          = -200;  Incorrect username/password
    public static final int ERR_ACTINACTIVE     = -201; username inactive
    public static final int ERR_NOGROUP         = -203; group name does not exist
    public static final int ERR_INSUFFBALANCE   = -210; Insufficient credit balance
    public static final int ERR_INVSERVICE      = -211; requested service not supported for this account
    public static final int ERR_DOCIDNOMATCH    = -230;  No matching Document Id for message status query

    public static final int ERR_NOSERVICE       = -900; service not available
    public static final int ERR_SMSCERROR       = -910;  Outward route error
    public static final int ERR_QUERYTIMEOUT    = -930;  Message Status Query time out
    public static final int ERR_QUERYTOOFAST    = -940;  Message Status Query too fast limited to 1 per minute
    public static final int ERR_INTERNALERROR   = -999; Thrown when a error occurred for some generic reason when processing a request