org.scale7.cassandra.pelops.exceptions
Interface IExceptionTranslator

All Known Implementing Classes:
IExceptionTranslator.ExceptionTranslator

public interface IExceptionTranslator

Interface used to define how exception are translated.


Nested Class Summary
static class IExceptionTranslator.ExceptionTranslator
          Default implementation.
 
Method Summary
 PelopsException translate(Exception e)
          Translate the provided exception into a pelops exception.
 

Method Detail

translate

PelopsException translate(Exception e)
Translate the provided exception into a pelops exception.

Parameters:
e - the exception
Returns:
the pelops exception


Copyright © 2011. All Rights Reserved.