## Uses of Class
com.h3c.of.lib.err.ErrorType

- Packages that use ErrorType
  Package | Description
  --- | ---
  com.h3c.of.lib.err | OpenFlow Error Type enumerations.
  com.h3c.of.lib.msg | Representations of OpenFlow Protocol Messages.
  com.h3c.of.sw | Provides mock implementations of OpenFlow switches.

- - ### Uses of ErrorType in com.h3c.of.lib.err

    Methods in com.h3c.of.lib.err that return ErrorType
    Modifier and Type | Method and Description
    --- | ---
    `static ErrorType` | ErrorType.`decode(int code, ProtocolVersion pv)` Decodes the error type code and returns the corresponding constant.
    `ErrorType` | ErrorCode.`parentType()` Returns the parent error type for this error code.
    `ErrorType` | ECodeFlowModFailed.`parentType()`
    `ErrorType` | ECodeBadInstruction.`parentType()`
    `ErrorType` | ECodeTableModFailed.`parentType()`
    `ErrorType` | ECodeQueueOpFailed.`parentType()`
    `ErrorType` | ECodeBadMatch.`parentType()`
    `ErrorType` | ECodeBadAction.`parentType()`
    `ErrorType` | ECodeMeterModFailed.`parentType()`
    `ErrorType` | ECodeTableFeaturesFailed.`parentType()`
    `ErrorType` | ECodeGroupModFailed.`parentType()`
    `ErrorType` | ECodePortModFailed.`parentType()`
    `ErrorType` | ECodeSwitchConfigFailed.`parentType()`
    `ErrorType` | ECodeRoleRequestFailed.`parentType()`
    `ErrorType` | ECodeBadRequest.`parentType()`
    `ErrorType` | ECodeHelloFailed.`parentType()`
    `static ErrorType` | ErrorType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static ErrorType[]` | ErrorType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.h3c.of.lib.err with parameters of type ErrorType
    Modifier and Type | Method and Description
    --- | ---
    `static Class<? extends ErrorCode>` | ErrorCodeLookup.`codeClass(ErrorType type)` Returns the class of error code for the given error type.
    `static ErrorCode` | ErrorCodeLookup.`lookup(ErrorType type, int code, ProtocolVersion pv)` Looks up the error code constant for the given encoded value, based on the supplied high-level error type.
    `static void` | ErrorCodeLookup.`validate(ErrorType type, ErrorCode code, ProtocolVersion pv)` Validates the error type/code combination for the specified protocol version, silently returning if all is well, or throwing an exception if the combination is invalid.

  - ### Uses of ErrorType in com.h3c.of.lib.msg

    Methods in com.h3c.of.lib.msg that return ErrorType
    Modifier and Type | Method and Description
    --- | ---
    `ErrorType` | OfmError.`getErrorType()` Returns the high-level type of error; Since 1.0.

    Methods in com.h3c.of.lib.msg with parameters of type ErrorType
    Modifier and Type | Method and Description
    --- | ---
    `OfmMutableError` | OfmMutableError.`errorType(ErrorType type)` Sets the error type; Since 1.0.

  - ### Uses of ErrorType in com.h3c.of.sw

    Methods in com.h3c.of.sw with parameters of type ErrorType
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | MockOpenflowSwitch.`sendError(ErrorType et, ErrorCode ec, OpenflowMessage m)` Send an error message back to the controller.

Copyright © 2014. All Rights Reserved.