org.tranche.exceptions
Class ChunkDoesNotBelongException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.tranche.exceptions.ChunkDoesNotBelongException
All Implemented Interfaces:
java.io.Serializable

public class ChunkDoesNotBelongException
extends java.lang.RuntimeException

If a chunk does not belong to Tranche server (data or routing server if none of data servers match), this is thrown.

Note that RemoteUtil will serialize/deserialize stable table entry for server if this is thrown, so client will get updated information. Hence, this should be used consistently!

Author:
Bryan Smith - bryanesmith@gmail.com
See Also:
Serialized Form

Field Summary
static java.lang.String MESSAGE
           
 
Constructor Summary
ChunkDoesNotBelongException()
          If a chunk does not belong to Tranche server (data or routing server if none of data servers match), this is thrown.
 
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
 

Field Detail

MESSAGE

public static final java.lang.String MESSAGE
See Also:
Constant Field Values
Constructor Detail

ChunkDoesNotBelongException

public ChunkDoesNotBelongException()

If a chunk does not belong to Tranche server (data or routing server if none of data servers match), this is thrown.

Note that RemoteUtil will serialize/deserialize stable table entry for server if this is thrown, so client will get updated information. Hence, this should be used consistently!



This code is free for use both commercially and non-commercially as stated in the project's license