krati.store
Class InvalidDataException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by krati.store.InvalidDataException
All Implemented Interfaces:
Serializable

public class InvalidDataException
extends RuntimeException

InvalidDataException.

Author:
jwu
See Also:
Serialized Form

Constructor Summary
InvalidDataException(String message)
           
 
Method Summary
static InvalidDataException invalidSizeException(int dataSize)
           
static InvalidDataException invalidSizeException(int dataSize, int sizeExpected)
           
 
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

InvalidDataException

public InvalidDataException(String message)
Method Detail

invalidSizeException

public static InvalidDataException invalidSizeException(int dataSize)

invalidSizeException

public static InvalidDataException invalidSizeException(int dataSize,
                                                        int sizeExpected)


Copyright © 2011. All Rights Reserved.