net.sourceforge.jwap.wtp.pdu
Class EWTPCorruptPDUException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--net.sourceforge.jwap.wtp.pdu.EWTPCorruptPDUException
All Implemented Interfaces:
java.io.Serializable

public class EWTPCorruptPDUException
extends java.lang.Exception

This Exception is thrown by the WTP state machine, if it received a PDU, which can not be decoded - perhaps because it IS NO WTP PDU...

See Also:
Serialized Form

Constructor Summary
EWTPCorruptPDUException(java.lang.String s)
           
EWTPCorruptPDUException(java.lang.String s, int tid)
           
 
Method Summary
 int getTid()
           
 boolean isTidAvailable()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EWTPCorruptPDUException

public EWTPCorruptPDUException(java.lang.String s)
Parameters:
s - An error message

EWTPCorruptPDUException

public EWTPCorruptPDUException(java.lang.String s,
                               int tid)
Method Detail

isTidAvailable

public boolean isTidAvailable()

getTid

public int getTid()