ServerException.ERROR (Apache Hadoop HttpFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.lib.server, class: ServerException, enum: ERROR

Package org.apache.hadoop.lib.server

# Enum Class ServerException.ERROR

java.lang.Object
java.lang.Enum<ServerException.ERROR>
org.apache.hadoop.lib.server.ServerException.ERROR

All Implemented Interfaces:
  `Serializable`, `Comparable<ServerException.ERROR>`, `Constable`, `XException.ERROR`

Enclosing class:
  ServerException

@Private public static enum ServerException.ERROR extends Enum<ServerException.ERROR> implements XException.ERROR
Error codes use by the `Server` class.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `S01`
  `S02`
  `S03`
  `S04`
  `S05`
  `S06`
  `S07`
  `S08`
  `S09`
  `S10`
  `S11`
  `S12`
  `S13`
  `S14`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getTemplate()`
  Returns the message template for the error code.
  `static ServerException.ERROR`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ServerException.ERROR[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### S01

    public static final ServerException.ERROR S01

  - ### S02

    public static final ServerException.ERROR S02

  - ### S03

    public static final ServerException.ERROR S03

  - ### S04

    public static final ServerException.ERROR S04

  - ### S05

    public static final ServerException.ERROR S05

  - ### S06

    public static final ServerException.ERROR S06

  - ### S07

    public static final ServerException.ERROR S07

  - ### S08

    public static final ServerException.ERROR S08

  - ### S09

    public static final ServerException.ERROR S09

  - ### S10

    public static final ServerException.ERROR S10

  - ### S11

    public static final ServerException.ERROR S11

  - ### S12

    public static final ServerException.ERROR S12

  - ### S13

    public static final ServerException.ERROR S13

  - ### S14

    public static final ServerException.ERROR S14

- ## Method Details

  - ### values

    public static ServerException.ERROR[] values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Returns:
      an array containing the constants of this enum class, in the order they are declared

  - ### valueOf

    public static ServerException.ERROR valueOf(String name)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      `NullPointerException` - if the argument is null

  - ### getTemplate

    public String getTemplate()
    Returns the message template for the error code.
    Specified by:
      `getTemplate` in interface `XException.ERROR`
    Returns:
      the message template for the error code.