net.sf.oval.exception
Class ExceptionTranslatorJDKExceptionsImpl

java.lang.Object
  extended by net.sf.oval.exception.ExceptionTranslatorJDKExceptionsImpl
All Implemented Interfaces:
ExceptionTranslator

public class ExceptionTranslatorJDKExceptionsImpl
extends Object
implements ExceptionTranslator

Translates OVal specific exceptions to standard exceptions part of the JRE:

Author:
Sebastian Thomschke

Constructor Summary
ExceptionTranslatorJDKExceptionsImpl()
           
 
Method Summary
 RuntimeException translateException(OValException ex)
          If this method returns null, the original exception is thrown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionTranslatorJDKExceptionsImpl

public ExceptionTranslatorJDKExceptionsImpl()
Method Detail

translateException

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

Specified by:
translateException in interface ExceptionTranslator
Returns:
the exception to throw


Copyright © 2005–2015 The OVal Development Team. All rights reserved.