public enum WsError extends Enum<WsError> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<WsError>
| Enum Constant and Description |
|---|
BASIC_AUTHENTICATION |
CLIENT_SECURITY |
CONNECTIVITY |
FORBIDDEN |
INTERNAL_SERVER_ERROR |
INVALID_SOCKET_ID |
NO_SUCH_SOCKET |
NON_UNIQUE_SOCKET_ID |
NOT_FOUND |
REMOTELY_CLOSED |
SERVER_SECURITY |
SERVICE_UNAVAILABLE |
UNAUTHORIZED |
| Modifier and Type | Method and Description |
|---|---|
static Optional<WsError> |
getErrorByCode(int statusCode) |
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static WsError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WsError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsError CONNECTIVITY
public static final WsError CLIENT_SECURITY
public static final WsError SERVER_SECURITY
public static final WsError BASIC_AUTHENTICATION
public static final WsError UNAUTHORIZED
public static final WsError FORBIDDEN
public static final WsError NOT_FOUND
public static final WsError SERVICE_UNAVAILABLE
public static final WsError NO_SUCH_SOCKET
public static final WsError INVALID_SOCKET_ID
public static final WsError NON_UNIQUE_SOCKET_ID
public static final WsError REMOTELY_CLOSED
public static final WsError INTERNAL_SERVER_ERROR
public static WsError[] values()
for (WsError c : WsError.values()) System.out.println(c);
public static WsError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<WsError>Copyright © 2024 MuleSoft, Inc.. All rights reserved.