ErrorCategory Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.batch.protocol.models.ErrorCategory

public enum ErrorCategory
extends Enum<ErrorCategory>

Defines values for ErrorCategory.

Fields

SERVER_ERROR

The error is due to an internal server issue.

USER_ERROR

The error is due to a user issue, such as misconfiguration.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static ErrorCategory fromString(String value)

Parses a serialized value to a ErrorCategory instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed ErrorCategory object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ErrorCategory valueOf(String name)

Parameters

name
String

Returns

values()

public static ErrorCategory[] values()

Returns

Applies to