public class BucketExceptionReplyMessage extends BucketReplyMessage
messageID, navigationPath
Constructor and Description |
---|
BucketExceptionReplyMessage(BucketRequestMessage<?> message,
BucketStorageException bucketException)
Creates a new instance of BucketExceptionReplyMessage for a given bucket storage exception.
|
BucketExceptionReplyMessage(BucketRequestMessage<?> message,
java.lang.RuntimeException runtimeException)
Creates a new instance of BucketReplyMessage for a given runtime exception.
|
Modifier and Type | Method and Description |
---|---|
BucketStorageException |
getException()
Returns the bucket storage exception stored in this message.
|
clone, toString
deregisterOperStats, equals, getDestination, getMessageID, getNavigationPathLength, getOriginalSender, getPathElements, getSender, getSenderList, hashCode, registerBoundStat, registerBoundStat, setNavigationPathStatistics
public BucketExceptionReplyMessage(BucketRequestMessage<?> message, BucketStorageException bucketException) throws java.lang.NullPointerException
message
- the original message this message is response tobucketException
- the exception to pass back to the originatorjava.lang.NullPointerException
- if the bucketException
is nullpublic BucketExceptionReplyMessage(BucketRequestMessage<?> message, java.lang.RuntimeException runtimeException) throws java.lang.NullPointerException
message
- the original message this message is response toruntimeException
- the exception to pass back to the originatorjava.lang.NullPointerException
- if the runtimeException
is nullpublic BucketStorageException getException() throws java.lang.RuntimeException
java.lang.RuntimeException
- if this message contains a RuntimeException