GigaSpaces XAP 10.0.1 API

org.openspaces.core.exception
Class DefaultExceptionTranslator

java.lang.Object
  extended by 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

Constructor Summary
DefaultExceptionTranslator()
           
 
Method Summary
 DataAccessException translate(Throwable e)
          Translates general JavaSpaces and Jini exceptions into a DataAccess exception.
 DataAccessException translateNoUncategorized(Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExceptionTranslator

public DefaultExceptionTranslator()
Method Detail

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.