/*
 * JBoss, the OpenSource J2EE webOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package org.jboss.tm;

import org.jboss.logging.Logger;
import javax.transaction.xa.XAException;

/**
 * XAExceptionFormatter
 *
 * @author <a href="mailto:d_jencks@users.sourceforge.net">David Jencks</a>
 * @version $Revision: 1.4.6.2 $
 */
public interface XAExceptionFormatter
{
   /**
    * Format the exception and log it
    * 
    * @param xae the exception
    * @param log the log
    */
   void formatXAException(XAException xae, Logger log);
}
