net.sf.oval.exception
Interface ExceptionTranslator

All Known Implementing Classes:
ExceptionTranslatorJDKExceptionsImpl

public interface ExceptionTranslator

An exception translater for all exception thrown by the guard during runtime when performing constraint validations on guarded objects.

Author:
Sebastian Thomschke

Method Summary
 RuntimeException translateException(OValException ex)
          If this method returns null, the original exception is thrown.
 

Method Detail

translateException

RuntimeException translateException(OValException ex)
If this method returns null, the original exception is thrown.

Parameters:
ex -
Returns:
the exception to throw


Copyright © 2005-2013 The OVal Development Team. All Rights Reserved.