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

    Modifier and Type
    Method
    Description
    transform(Throwable exception)
    Transform from a Container specific deployment exception to the real cause.
  • Method Details

    • 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