org.tranche.exceptions
Class ChunkDoesNotBelongException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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. |
| 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 |
MESSAGE
public static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
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