public enum StreamError extends Enum<StreamError>
Modifier and Type | Method and Description |
---|---|
static StreamError |
getByElementName(String name) |
String |
getElementName() |
static StreamError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamError bad_format
public static final StreamError bad_namespace_prefix
public static final StreamError conflict
public static final StreamError connection_timeout
public static final StreamError host_gone
public static final StreamError host_unknown
public static final StreamError improper_addressing
public static final StreamError internal_server_error
public static final StreamError invalid_from
public static final StreamError invalid_id
public static final StreamError invalid_namespace
public static final StreamError invalid_xml
public static final StreamError not_authorized
public static final StreamError not_well_formed
public static final StreamError policy_violation
public static final StreamError remote_connection_failed
public static final StreamError reset
public static final StreamError resource_constraint
public static final StreamError restricted_xml
public static final StreamError see_other_host
public static final StreamError system_shutdown
public static final StreamError undefined_condition
public static final StreamError unsupported_encoding
public static final StreamError unsupported_stanza_type
public static final StreamError unsupported_version
public static StreamError[] values()
for (StreamError c : StreamError.values()) System.out.println(c);
public static StreamError 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 static StreamError getByElementName(String name)
public String getElementName()
Copyright © 2006–2023 Tigase. All rights reserved.