GigaSpaces XAP 10.0.1 API

com.j_spaces.core.cluster
Class ReplicationFilterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.j_spaces.core.cluster.ReplicationFilterException
All Implemented Interfaces:
Serializable

public class ReplicationFilterException
extends RuntimeException

This exception thrown back into the client when there is problem at the IReplicationFilter.process() implementation.
For exception details call ReplicationFilterException.getCause().

Version:
4.0
Author:
Igor Goldenberg
See Also:
IReplicationFilter, Serialized Form

Constructor Summary
ReplicationFilterException(String message)
          Constructs an ReplicationFilterException with the specified detail message.
ReplicationFilterException(String message, Throwable cause)
          Constructs an ReplicationFilterException with the specified detail message and cause.
ReplicationFilterException(String message, Throwable cause, String filterClassName, String sourceMemberName, String targetMemberName, int filterDirection)
          Constructs an ReplicationFilterException with the specified detail message, source and target member.
 
Method Summary
 int getDirection()
          Gets replication filter direction Input/Output.
 String getFilterClassName()
          Gets the replication filter implementation class name.
 String getSourceMemberName()
          Gets the replication channel source member name.
 String getTargetMemberName()
          Gets the replication channel target member name.
 
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

ReplicationFilterException

public ReplicationFilterException(String message)
Constructs an ReplicationFilterException with the specified detail message.

Parameters:
message - a String containing a detail message

ReplicationFilterException

public ReplicationFilterException(String message,
                                  Throwable cause)
Constructs an ReplicationFilterException with the specified detail message and cause.

Parameters:
message - a String containing a detail message
cause - the cause

ReplicationFilterException

public ReplicationFilterException(String message,
                                  Throwable cause,
                                  String filterClassName,
                                  String sourceMemberName,
                                  String targetMemberName,
                                  int filterDirection)
Constructs an ReplicationFilterException with the specified detail message, source and target member.

Parameters:
message - a String containing a detail message
cause - the cause
Method Detail

getFilterClassName

public String getFilterClassName()
Gets the replication filter implementation class name.

Returns:
replication filter implementation class name.

getSourceMemberName

public String getSourceMemberName()
Gets the replication channel source member name.

Returns:
source member name in the following format: ContainerName:SpaceName

getTargetMemberName

public String getTargetMemberName()
Gets the replication channel target member name.

Returns:
target member name in the following format: ContainerName:SpaceName

getDirection

public int getDirection()
Gets replication filter direction Input/Output.

Returns:
Can have of the following values IReplicationFilter.FILTER_DIRECTION_INPUT or IReplicationFilter.FILTER_DIRECTION_OUTPUT

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.