Class JingleError

  • All Implemented Interfaces:
    org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlElement, org.jivesoftware.smack.packet.XmlLangElement

    public final class JingleError
    extends java.lang.Object
    implements org.jivesoftware.smack.packet.XmlElement
    • Field Detail

      • NAMESPACE

        public static java.lang.String NAMESPACE
      • OUT_OF_ORDER

        public static final JingleError OUT_OF_ORDER
      • UNKNOWN_SESSION

        public static final JingleError UNKNOWN_SESSION
      • UNSUPPORTED_INFO

        public static final JingleError UNSUPPORTED_INFO
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Returns the name of the Jingle error.
        Returns:
        the name of the error.
      • toXML

        public org.jivesoftware.smack.util.XmlStringBuilder toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
        Specified by:
        toXML in interface org.jivesoftware.smack.packet.Element
      • fromString

        public static JingleError fromString​(java.lang.String value)
        Returns a error instance associated with the String value.
        Parameters:
        value - the input String.
        Returns:
        the jingle error instance associated with the input String.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getElementName

        public java.lang.String getElementName()
        Specified by:
        getElementName in interface org.jivesoftware.smack.packet.NamedElement
      • getNamespace

        public java.lang.String getNamespace()
        Specified by:
        getNamespace in interface org.jivesoftware.smack.packet.XmlElement