org.scale7.cassandra.pelops.exceptions
Class IExceptionTranslator.ExceptionTranslator

java.lang.Object
  extended by org.scale7.cassandra.pelops.exceptions.IExceptionTranslator.ExceptionTranslator
All Implemented Interfaces:
IExceptionTranslator
Enclosing interface:
IExceptionTranslator

public static class IExceptionTranslator.ExceptionTranslator
extends Object
implements IExceptionTranslator

Default implementation.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.scale7.cassandra.pelops.exceptions.IExceptionTranslator
IExceptionTranslator.ExceptionTranslator
 
Constructor Summary
IExceptionTranslator.ExceptionTranslator()
           
 
Method Summary
 PelopsException translate(Exception e)
          Translate the provided exception into a pelops exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IExceptionTranslator.ExceptionTranslator

public IExceptionTranslator.ExceptionTranslator()
Method Detail

translate

public PelopsException translate(Exception e)
Description copied from interface: IExceptionTranslator
Translate the provided exception into a pelops exception.

Specified by:
translate in interface IExceptionTranslator
Parameters:
e - the exception
Returns:
the pelops exception


Copyright © 2011. All Rights Reserved.