org.apache.tomee.catalina
Class DeploymentExceptionManager

java.lang.Object
  extended by org.apache.tomee.catalina.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 clearDelpoyementException(AppInfo info)
           
 Exception getDelpoyementException(AppInfo appInfo)
           
 Exception getFirstException()
           
 boolean hasDelpoyementFailed(AppInfo appInfo)
           
 Exception saveDelpoyementException(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

hasDelpoyementFailed

public boolean hasDelpoyementFailed(AppInfo appInfo)

getDelpoyementException

public Exception getDelpoyementException(AppInfo appInfo)

saveDelpoyementException

public Exception saveDelpoyementException(AppInfo appInfo,
                                          Exception exception)

clearDelpoyementException

public void clearDelpoyementException(AppInfo info)

getFirstException

public Exception getFirstException()


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