org.jboss.arquillian.container.impl.client.container
Class DeploymentExceptionHandler

java.lang.Object
  extended by org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler

public class DeploymentExceptionHandler
extends Object

A exception handler that attempt to Veto a Exception during deployment if ShouldThrowException is defined for the Deployment.

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
DeploymentExceptionHandler()
           
 
Method Summary
 void verifyExpectedExceptionDuringDeploy(EventContext<DeployDeployment> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentExceptionHandler

public DeploymentExceptionHandler()
Method Detail

verifyExpectedExceptionDuringDeploy

public void verifyExpectedExceptionDuringDeploy(@Observes
                                                EventContext<DeployDeployment> context)
                                         throws Exception
Throws:
Exception


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