org.PingOO.DLAI.lib.util
Class BadMessageException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.PingOO.DLAI.lib.util.BadMessageException

public final class BadMessageException
extends java.lang.Exception

This exception is used when the line buffer that has been read on the socket does not match the pingoop protocol RFC.

Since:
PingOO 2.0
Version:
2.0
Author:
Fabrice Bouyé (bouye@cur-archamps.fr)
See Also:
Serialized Form

Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
BadMessageException()
          Creates a new exception with no specified detail message.
BadMessageException(java.lang.String message)
          Creates a new exception with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

BadMessageException

public BadMessageException()
Creates a new exception with no specified detail message.

BadMessageException

public BadMessageException(java.lang.String message)
Creates a new exception with the specified detail message.
Parameters:
message - The detail message describing the error.