Enum ErrorTargetCode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ErrorTargetCode>

    public enum ErrorTargetCode
    extends java.lang.Enum<ErrorTargetCode>
    What object experienced the error?
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getValue()  
      static ErrorTargetCode valueOf​(int intValue)
      Returns the enum constant of this type with the specified name.
      static ErrorTargetCode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ErrorTargetCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Unknown

        public static final ErrorTargetCode Unknown
        Error target is unknown
      • HttpRequest

        public static final ErrorTargetCode HttpRequest
        There was an error in the request URL, querystring, or body
      • HttpRequestHeaders

        public static final ErrorTargetCode HttpRequestHeaders
        There was an error in the HTTP Request headers
      • IncorrectData

        public static final ErrorTargetCode IncorrectData
        Some data provided by the user was incorrect
      • AvaTaxApiServer

        public static final ErrorTargetCode AvaTaxApiServer
        There was an error in the AvaTax API Server
      • AvalaraIdentityServer

        public static final ErrorTargetCode AvalaraIdentityServer
        There was an error in the Avalara Identity Server
      • CustomerAccountSetup

        public static final ErrorTargetCode CustomerAccountSetup
        The customer's account setup does not permit certain actions
    • Method Detail

      • values

        public static ErrorTargetCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ErrorTargetCode c : ErrorTargetCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ErrorTargetCode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueOf

        public static ErrorTargetCode valueOf​(int intValue)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        intValue - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()