FileDocCategorySizeDatePackage
IASDeploymentException.javaAPI DocGlassfish v2 API3448Fri May 04 22:31:36 BST 2007com.sun.enterprise.deployment.backend

IASDeploymentException

public class IASDeploymentException extends Exception
author
bnevins
version

Fields Summary
static final long
serialVersionUID
Constructors Summary
public IASDeploymentException()


	  
	
	
public IASDeploymentException(String s)

		super(s);
	
public IASDeploymentException(Throwable t)

            // we cannot just invoke the super(throwable) constructor because
            // the IASDeploymentException travels between processes and needs
            // to be serializable as well as all sub or chained exception.
            // Therefore, I use the setStackTrace to chain instead of initCause
            super(t.getMessage());
            setStackTrace(t.getStackTrace());
	
public IASDeploymentException(String s, Throwable t)

            // we cannot just invoke the super(throwable) constructor because
            // the IASDeploymentException travels between processes and needs
            // to be serializable as well as all sub or chained exception.
            // Therefore, I use the setStackTrace to chain instead of initCause            
	    super(s + " -- " + t.getMessage());
            this.setStackTrace(t.getStackTrace());
	
Methods Summary