org.jSyncManager.API.Protocol

Class CMPWrongPacketTypeException


public class CMPWrongPacketTypeException
extends RuntimeException

The CMPWrongPacketTypeException class. This exeception is generated when a call to CMP_Packet.bytes2Packet is made with a CMP Extended packet, or vice-versa.

Constructor Summary

CMPWrongPacketTypeException()
Constructs a new CMPWrongPacketTypeException object.
CMPWrongPacketTypeException(String s)
Constructs a new CMPWrongPacketTypeException object with the given message.

Constructor Details

CMPWrongPacketTypeException

public CMPWrongPacketTypeException()
Constructs a new CMPWrongPacketTypeException object.

CMPWrongPacketTypeException

public CMPWrongPacketTypeException(String s)
Constructs a new CMPWrongPacketTypeException object with the given message.
Parameters:
s - a String containing the exeception message text.