Package tigase.xmpp

Enum StreamError

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<StreamError>

    public enum StreamError
    extends java.lang.Enum<StreamError>
    Author:
    andrzej
    • Enum Constant Detail

      • BadNamespacePrefix

        public static final StreamError BadNamespacePrefix
      • ConnectionTimeout

        public static final StreamError ConnectionTimeout
      • 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
      • 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 name
        java.lang.NullPointerException - if the argument is null
      • getByCondition

        public static StreamError getByCondition​(java.lang.String condition)
      • getCondition

        public java.lang.String getCondition()