Enum ErrorTargetCode
java.lang.Object
java.lang.Enum<ErrorTargetCode>
net.avalara.avatax.rest.client.enums.ErrorTargetCode
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ErrorTargetCode>
,java.lang.constant.Constable
public enum ErrorTargetCode extends java.lang.Enum<ErrorTargetCode>
What object experienced the error?
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AvalaraIdentityServer
There was an error in the Avalara Identity ServerAvaTaxApiServer
There was an error in the AvaTax API ServerCustomerAccountSetup
The customer's account setup does not permit certain actionsHttpRequest
There was an error in the request URL, querystring, or bodyHttpRequestHeaders
There was an error in the HTTP Request headersIncorrectData
Some data provided by the user was incorrectUnknown
Error target is unknown -
Method Summary
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.
-
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-