org.openspaces.core.exception
Class DefaultExceptionTranslator
java.lang.Object
org.openspaces.core.exception.DefaultExceptionTranslator
- All Implemented Interfaces:
- ExceptionTranslator
public class DefaultExceptionTranslator
- extends Object
- implements ExceptionTranslator
The default exception translator.
- Author:
- kimchy
- See Also:
GigaSpace
,
DefaultGigaSpace
,
GigaSpaceFactoryBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExceptionTranslator
public DefaultExceptionTranslator()
translate
public DataAccessException translate(Throwable e)
- Translates general JavaSpaces and Jini exceptions into a DataAccess exception.
- Specified by:
translate
in interface ExceptionTranslator
- Parameters:
e
- The low level exception to translate
- Returns:
- The translated exception
translateNoUncategorized
public DataAccessException translateNoUncategorized(Throwable e)
- Specified by:
translateNoUncategorized
in interface ExceptionTranslator
Copyright © GigaSpaces.