com.j_spaces.core
Class MemoryShortageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.j_spaces.core.MemoryShortageException
- All Implemented Interfaces:
- Serializable
public class MemoryShortageException
- extends RuntimeException
This Exception indicates that the space server process reached
the predefined percentage usage ratio.
- See Also:
- Serialized Form
MemoryShortageException
public MemoryShortageException(String spaceName)
- Constructor
- Parameters:
spaceName
- the name of the space that cause this exception
toString
public String toString()
- Return the exception message
- Overrides:
toString
in class Throwable
- Returns:
- "Memory shortage in space: " + spaceName