Class JingleError

java.lang.Object
org.jivesoftware.smackx.jingle.element.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 Object implements org.jivesoftware.smack.packet.XmlElement
  • Field Details

    • NAMESPACE

      public static String NAMESPACE
    • OUT_OF_ORDER

      public static final JingleError OUT_OF_ORDER
    • TIE_BREAK

      public static final JingleError TIE_BREAK
    • UNKNOWN_SESSION

      public static final JingleError UNKNOWN_SESSION
    • UNSUPPORTED_INFO

      public static final JingleError UNSUPPORTED_INFO
  • Method Details

    • getMessage

      public 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(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 String toString()
      Overrides:
      toString in class Object
    • getElementName

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

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