com.hazelcast.spi.exception
Class WrongTargetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hazelcast.core.HazelcastException
                  extended by com.hazelcast.spi.exception.RetryableHazelcastException
                      extended by com.hazelcast.spi.exception.WrongTargetException
All Implemented Interfaces:
RetryableException, Serializable

public class WrongTargetException
extends RetryableHazelcastException

A RetryableHazelcastException indicating that an operation is executed on the wrong machine.

See Also:
Serialized Form

Constructor Summary
WrongTargetException(Address thisAddress, Address target, int partitionId, int replicaIndex, String operationName)
           
WrongTargetException(Address thisAddress, Address target, int partitionId, int replicaIndex, String operationName, String serviceName)
           
 
Method Summary
 Address getTarget()
           
 
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

WrongTargetException

public WrongTargetException(Address thisAddress,
                            Address target,
                            int partitionId,
                            int replicaIndex,
                            String operationName)

WrongTargetException

public WrongTargetException(Address thisAddress,
                            Address target,
                            int partitionId,
                            int replicaIndex,
                            String operationName,
                            String serviceName)
Method Detail

getTarget

public Address getTarget()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.