public class JingleError extends Object implements ExtensionElement
| Modifier and Type | Class and Description |
|---|---|
static class |
JingleError.Provider |
| Modifier and Type | Field and Description |
|---|---|
static JingleError |
MALFORMED_STANZA |
static String |
NAMESPACE |
static JingleError |
NEGOTIATION_ERROR |
static JingleError |
NO_COMMON_PAYLOAD |
static JingleError |
OUT_OF_ORDER |
static JingleError |
UNKNOWN_SESSION |
static JingleError |
UNSUPPORTED_CONTENT |
static JingleError |
UNSUPPORTED_TRANSPORTS |
| Constructor and Description |
|---|
JingleError(String message)
Creates a new error with the specified code and message.
|
| Modifier and Type | Method and Description |
|---|---|
static JingleError |
fromString(String value)
Returns a Action instance associated with the String value.
|
String |
getElementName()
Returns the root element name.
|
String |
getMessage()
Returns the message describing the error, or null if there is no message.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toString() |
String |
toXML()
Returns the error as XML.
|
public static final JingleError OUT_OF_ORDER
public static final JingleError UNKNOWN_SESSION
public static final JingleError UNSUPPORTED_CONTENT
public static final JingleError UNSUPPORTED_TRANSPORTS
public static final JingleError NO_COMMON_PAYLOAD
public static final JingleError NEGOTIATION_ERROR
public static final JingleError MALFORMED_STANZA
public JingleError(String message)
message - a message describing the error.public String getMessage()
public static JingleError fromString(String value)
public String getElementName()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElement