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 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