Enum ErrorTargetCode
- All Implemented Interfaces:
Serializable
,Comparable<ErrorTargetCode>
,java.lang.constant.Constable
What object experienced the error?
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere was an error in the Avalara Identity ServerThere was an error in the AvaTax API ServerThe customer's account setup does not permit certain actionsThere was an error in the request URL, querystring, or bodyThere was an error in the HTTP Request headersSome data provided by the user was incorrectError target is unknown -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static ErrorTargetCode
valueOf
(int intValue) Returns the enum constant of this type with the specified name.static ErrorTargetCode
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.
-
Enum Constant Details
-
Unknown
Error target is unknown -
HttpRequest
There was an error in the request URL, querystring, or body -
HttpRequestHeaders
There was an error in the HTTP Request headers -
IncorrectData
Some data provided by the user was incorrect -
AvaTaxApiServer
There was an error in the AvaTax API Server -
AvalaraIdentityServer
There was an error in the Avalara Identity Server -
CustomerAccountSetup
The customer's account setup does not permit certain actions
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-