FileDocCategorySizeDatePackage
DeploymentPhaseException.javaAPI DocGlassfish v2 API3586Fri May 04 22:34:38 BST 2007com.sun.enterprise.deployment.phasing

DeploymentPhaseException

public final class DeploymentPhaseException extends com.sun.enterprise.deployment.backend.IASDeploymentException
Represents exceptions coming from different deployment phases
author
Sandhya E

Fields Summary
private final String
phaseName
private int
level
public static final int
FATAL
public static final int
NON_FATAL
Constructors Summary
public DeploymentPhaseException(String phaseName, String msg, Throwable t)
Creates a new instance of DeploymentPhaseException without detail message.

        super(msg, t);
        this.phaseName = phaseName;
    
public DeploymentPhaseException(String phaseName, String msg)

        super(msg);
        this.phaseName = phaseName;
    
Methods Summary
public intgetLevel()
Returns the level of this exception

return
level exception level [FATAL/NON_FATAL]

        return level;
    
public java.lang.StringgetPhaseName()
Returns the phasename

return
phaseName name of the phase from where exception is happening

        return phaseName;
    
public voidsetLevel(int level)
Sets the error level of this exception

param
level error level [FATAL/NON_FATAL]

        this.level = level;