com.mischiefbox.pollserve
Class MessageTooLargeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.mischiefbox.pollserve.MessageTooLargeException
All Implemented Interfaces:
Serializable

public class MessageTooLargeException
extends Exception

Indicates that a message was too large. The connection handler should consider dumping the connection because this may be a deliberate attempt to deny service.

Version:
$Id$
Author:
Chris Jones
See Also:
Serialized Form

Field Summary
protected  String sConnectionId
          The offending connection id.
 
Constructor Summary
MessageTooLargeException(String sConnectionId)
          Create a new message too-large exception.
 
Method Summary
 String getConnectionId()
          Gets the offending connection id.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sConnectionId

protected String sConnectionId
The offending connection id.
Constructor Detail

MessageTooLargeException

public MessageTooLargeException(String sConnectionId)
Create a new message too-large exception.
Parameters:
sConnectionId - the connection id that sent the too-large message.
Method Detail

getConnectionId

public String getConnectionId()
Gets the offending connection id.
Returns:
the connection id that sent the too-large message.


Copyright © 2001 by Christopher R. Jones. All Rights Reserved.