com.claritysys.io
Class DataMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.claritysys.io.DataMismatchException
All Implemented Interfaces:
java.io.Serializable

public class DataMismatchException
extends java.io.IOException

An exception to indicate that recived data did not match the expected data.

Version:
$Revision: 2348 $
See Also:
SentinelInputStream.matchString(java.lang.String), Serialized Form

Constructor Summary
DataMismatchException()
          Create a new DataMismatchException with no detail description.
DataMismatchException(java.lang.String message)
          Create a new DataMismatchException with the given String as its 'message'.
 
Method Summary
 
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

DataMismatchException

public DataMismatchException()
Create a new DataMismatchException with no detail description.


DataMismatchException

public DataMismatchException(java.lang.String message)
Create a new DataMismatchException with the given String as its 'message'. This is the preferred constructor, as the program receiving this exception would probably find it useful to know what data was actually received.

Parameters:
message - A String describing the mismatch.


Copyright ? 2002 Clarity Systems Group, LLC. All Rights Reserved.