GigaSpaces XAP 7.0 API

com.j_spaces.core.client
Class EntryAlreadyInSpaceException

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

public class EntryAlreadyInSpaceException
extends RuntimeException

This exception is thrown when write operation is rejected when the entry (or another with same UID) is already in space.

Version:
3.0
Author:
Yechiel
See Also:
Serialized Form

Constructor Summary
EntryAlreadyInSpaceException(String uid, String classname)
          Constructor.
 
Method Summary
 String getClassName()
          Returns the rejected entry class name.
 String getUID()
          Returns the rejected entry UID.
 
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

EntryAlreadyInSpaceException

public EntryAlreadyInSpaceException(String uid,
                                    String classname)
Constructor.

Parameters:
uid - the rejected entry UID
classname - the rejected entry class name
Method Detail

getUID

public String getUID()
Returns the rejected entry UID.

Returns:
the rejected entry UID

getClassName

public String getClassName()
Returns the rejected entry class name.

Returns:
the rejected entry class name
Since:
5.0

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.