1 package org.jboss.resource.adapter.jms.inflow; 2 3 /** 4 * A RuntimeErrorHandler used to propagate runtime errors from inflow listener. This is primarily used 5 * to support the non-standard behavior of redelivery of non XA messages that throw a runtime exception. 6 * 7 * @author <a HREF="weston.price@jboss.com">Weston Price</a> 8 * @version $Revision: 1.1 $ 9 */ 10 public interface RuntimeErrorHandler 11 { 12 13 /** 14 * Determines if an exception is a runtime error. If it is, it simply rethrows the exception. 15 * 16 * @param t the exception 17 */ 18 public void handleRuntimeError(Throwable t); 19 20 } 21