Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Arjan Tijms <arjan.tijms@gmail.com>
  • Loading branch information
arjantijms committed May 23, 2022
1 parent 254e5be commit 882f0d6
Show file tree
Hide file tree
Showing 3 changed files with 353 additions and 379 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
* Copyright (c) 2022, 2022 Contributors to the Eclipse Foundation.
* Copyright (c) 2013, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
Expand All @@ -18,16 +19,16 @@

import java.util.List;

import jakarta.enterprise.inject.spi.DefinitionException;
import jakarta.enterprise.inject.spi.DeploymentException;

import org.apache.commons.lang.exception.ExceptionUtils;
import org.jboss.arquillian.container.spi.client.container.DeploymentExceptionTransformer;

import jakarta.enterprise.inject.spi.DefinitionException;
import jakarta.enterprise.inject.spi.DeploymentException;

/**
*
* See AS7-1197 for more details.
*
*
* @see org.jboss.weld.tck.glassfish.GlassFishExtension
* @author J J Snyder (j.j.snyder@oracle.com)
*/
Expand All @@ -44,6 +45,7 @@ public class GlassFishDeploymentExceptionTransformer implements DeploymentExcept
{ "CDI definition failure:",
"org.jboss.weld.exceptions.DefinitionException" };

@Override
public Throwable transform(Throwable throwable) {

// Arquillian sometimes returns InvocationException with nested AS7
Expand Down

0 comments on commit 882f0d6

Please sign in to comment.