Class JingleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.smack.XMPPException
-
- org.jivesoftware.smackx.jingleold.JingleException
-
- All Implemented Interfaces:
Serializable
public class JingleException extends XMPPException
A Jingle exception.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.XMPPException
XMPPException.FailedNonzaException, XMPPException.StreamErrorException, XMPPException.XMPPErrorException
-
-
Constructor Summary
Constructors Constructor Description JingleException()
Default constructor.JingleException(String msg)
Constructor with an error message.JingleException(JingleError error)
Constructor with an error response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JingleError
getError()
Return the error message.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JingleException
public JingleException()
Default constructor.
-
JingleException
public JingleException(String msg)
Constructor with an error message.- Parameters:
msg
- The message.
-
JingleException
public JingleException(JingleError error)
Constructor with an error response.- Parameters:
error
- The error message.
-
-
Method Detail
-
getError
public JingleError getError()
Return the error message.- Returns:
- the error
-
-