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
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.