Replace RuntimeException by a more specitic one.