Package tigase.xmpp
Enum StreamError
- java.lang.Object
-
- java.lang.Enum<StreamError>
-
- tigase.xmpp.StreamError
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StreamError>
public enum StreamError extends java.lang.Enum<StreamError>
- Author:
- andrzej
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StreamError
getByCondition(java.lang.String condition)
java.lang.String
getCondition()
static StreamError
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
BadFormat
public static final StreamError BadFormat
-
BadNamespacePrefix
public static final StreamError BadNamespacePrefix
-
Conflict
public static final StreamError Conflict
-
ConnectionTimeout
public static final StreamError ConnectionTimeout
-
HostGone
public static final StreamError HostGone
-
HostUnknown
public static final StreamError HostUnknown
-
ImproperAddressing
public static final StreamError ImproperAddressing
-
InternalServerError
public static final StreamError InternalServerError
-
InvalidFrom
public static final StreamError InvalidFrom
-
InvalidNamespace
public static final StreamError InvalidNamespace
-
InvalidXml
public static final StreamError InvalidXml
-
NotAuthorized
public static final StreamError NotAuthorized
-
NotWellFormed
public static final StreamError NotWellFormed
-
PolicyViolation
public static final StreamError PolicyViolation
-
RemoteConnectionFailed
public static final StreamError RemoteConnectionFailed
-
Reset
public static final StreamError Reset
-
ResourceConstraint
public static final StreamError ResourceConstraint
-
RestrictedXml
public static final StreamError RestrictedXml
-
SeeOtherHost
public static final StreamError SeeOtherHost
-
SystemShutdown
public static final StreamError SystemShutdown
-
UndefinedCondition
public static final StreamError UndefinedCondition
-
UnsupportedEncoding
public static final StreamError UnsupportedEncoding
-
UnsupportedFeature
public static final StreamError UnsupportedFeature
-
UnsupportedStanzaType
public static final StreamError UnsupportedStanzaType
-
UnsupportedVersion
public static final StreamError UnsupportedVersion
-
-
Method Detail
-
values
public static StreamError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StreamError c : StreamError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getByCondition
public static StreamError getByCondition(java.lang.String condition)
-
getCondition
public java.lang.String getCondition()
-
-