001 package com.hammurapi.reasoning;
002
003 /**
004 * Receives exceptions thrown by inference methods.
005 * @author Pavel Vlasov
006 *
007 */
008 public interface ExceptionHandler {
009
010 /**
011 * This method is invoked when inference method
012 * throws exception. Implementations can choose to
013 * re-throw some exceptions.
014 * @param e
015 * @throws Exception
016 */
017 void handleException(Exception e) throws Exception;
018
019 }