org.jboss.arquillian.container.spi.client.container
Interface DeploymentExceptionTransformer


public interface DeploymentExceptionTransformer

A utility SPI for use with @Excpected. Not all containers have a simple cause chain when it comes to deployment exceptions. This should transform from the container specific exception to the real cause.

Version:
$Revision: $
Author:
Aslak Knutsen

Method Summary
 Throwable transform(Throwable exception)
          Transform from a Container specific deployment exception to the real cause.
 

Method Detail

transform

Throwable transform(Throwable exception)
Transform from a Container specific deployment exception to the real cause.

Parameters:
exception - The exception caught during deploy
Returns:
The transformed Exception or null if exception is unknown/untransformable


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.