Arquillian Container SPI 1.0.1.Final

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

Arquillian Container SPI 1.0.1.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.