net.sf.oval.exception
Interface ExceptionTranslator

All Known Implementing Classes:
ExceptionTranslatorJDKExceptionsImpl

public interface ExceptionTranslator

An exception translator 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–2015 The OVal Development Team. All rights reserved.