org.apache.openejb.assembler.classic
Class DeploymentExceptionManager

java.lang.Object
  extended by org.apache.openejb.assembler.classic.DeploymentExceptionManager

public class DeploymentExceptionManager
extends Object

Tomcat swallows some exception when trying to deploy a war. To be able to get it back (from our Deployers for instance) we need a way to store it.


Constructor Summary
DeploymentExceptionManager()
           
 
Method Summary
 void clearLastException(AppInfo info)
           
 Exception getDeploymentException(AppInfo appInfo)
           
 Exception getLastException()
           
 boolean hasDeploymentFailed()
           
 void pushDelpoymentException(Exception exception)
           
 Exception saveDeploymentException(AppInfo appInfo, Exception exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentExceptionManager

public DeploymentExceptionManager()
Method Detail

hasDeploymentFailed

public boolean hasDeploymentFailed()

getDeploymentException

public Exception getDeploymentException(AppInfo appInfo)

saveDeploymentException

public Exception saveDeploymentException(AppInfo appInfo,
                                         Exception exception)

clearLastException

public void clearLastException(AppInfo info)

getLastException

public Exception getLastException()

pushDelpoymentException

public void pushDelpoymentException(Exception exception)


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.