org.apache.mina.handler.demux
Class UnknownMessageTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.mina.handler.demux.UnknownMessageTypeException
All Implemented Interfaces:
Serializable

public class UnknownMessageTypeException
extends RuntimeException

An exception that is thrown when DemuxingIoHandler cannot find any MessageHandlers associated with the specific message type. You have to use DemuxingIoHandler.addMessageHandler(Class, MessageHandler) to associate a message type and a message handler.

Version:
$Rev: 436993 $, $Date: 2006-08-26 00:36:56 +0200 (Sat, 26 Aug 2006) $
Author:
The Apache Directory Project (mina-dev@directory.apache.org)
See Also:
Serialized Form

Constructor Summary
UnknownMessageTypeException()
           
UnknownMessageTypeException(String message)
           
UnknownMessageTypeException(String message, Throwable cause)
           
UnknownMessageTypeException(Throwable cause)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownMessageTypeException

public UnknownMessageTypeException()

UnknownMessageTypeException

public UnknownMessageTypeException(String message,
                                   Throwable cause)

UnknownMessageTypeException

public UnknownMessageTypeException(String message)

UnknownMessageTypeException

public UnknownMessageTypeException(Throwable cause)