org.jivesoftware.smackx.jingle
Class JingleException

java.lang.Object
  extended by XMPPException
      extended by org.jivesoftware.smackx.jingle.JingleException

public class JingleException
extends XMPPException

A Jingle exception.

Author:
Alvaro Saurin

Constructor Summary
JingleException()
          Default constructor.
JingleException(JingleError error)
          Constructor with an error response.
JingleException(java.lang.String msg)
          Constructor with an error message.
 
Method Summary
 JingleError getError()
          Return the error message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JingleException

public JingleException()
Default constructor.


JingleException

public JingleException(java.lang.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