public enum StreamError extends Enum<StreamError>
Modifier and Type | Method and Description |
---|---|
static StreamError |
getByCondition(String condition) |
String |
getCondition() |
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 BadFormat
public static final StreamError BadNamespacePrefix
public static final StreamError Conflict
public static final StreamError ConnectionTimeout
public static final StreamError HostGone
public static final StreamError HostUnknown
public static final StreamError ImproperAddressing
public static final StreamError InternalServerError
public static final StreamError InvalidFrom
public static final StreamError InvalidNamespace
public static final StreamError InvalidXml
public static final StreamError NotAuthorized
public static final StreamError NotWellFormed
public static final StreamError PolicyViolation
public static final StreamError RemoteConnectionFailed
public static final StreamError Reset
public static final StreamError ResourceConstraint
public static final StreamError RestrictedXml
public static final StreamError SeeOtherHost
public static final StreamError SystemShutdown
public static final StreamError UndefinedCondition
public static final StreamError UnsupportedEncoding
public static final StreamError UnsupportedFeature
public static final StreamError UnsupportedStanzaType
public static final StreamError UnsupportedVersion
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 getByCondition(String condition)
public String getCondition()
Copyright © 2018 "Tigase, Inc.". All rights reserved.