Smack

org.jivesoftware.smack.parsing
Class UnparsablePacket

java.lang.Object
  extended by org.jivesoftware.smack.parsing.UnparsablePacket

public class UnparsablePacket
extends Object

Representation of an unparsable packet.

Author:
Florian Schmaus

Constructor Summary
UnparsablePacket(String content, Exception e)
           
 
Method Summary
 String getContent()
          Retrieve the raw stanza data
 Exception getParsingException()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnparsablePacket

public UnparsablePacket(String content,
                        Exception e)
Method Detail

getParsingException

public Exception getParsingException()
Returns:
the exception that caused the parser to fail

getContent

public String getContent()
Retrieve the raw stanza data

Returns:
the raw stanza data

Smack

Copyright © 2003-2007 Jive Software.