1 23 24 32 33 package com.sun.enterprise.deployment.phasing; 34 35 import com.sun.enterprise.deployment.backend.IASDeploymentException; 36 37 41 public class DeploymentPhaseException extends IASDeploymentException { 42 43 44 47 public DeploymentPhaseException(String phaseName, String msg, Throwable t) { 48 super(msg, t); 49 this.phaseName = phaseName; 50 } 51 52 public DeploymentPhaseException(String phaseName, String msg) { 53 super(msg); 54 this.phaseName = phaseName; 55 } 56 57 61 public String getPhaseName() { 62 return phaseName; 63 } 64 65 69 public int getLevel() { 70 return level; 71 } 72 73 77 public void setLevel(int level) { 78 this.level = level; 79 } 80 81 private String phaseName = null; 82 private int level = FATAL; 83 84 public static int FATAL = 0; 85 public static int NON_FATAL = 1; 86 } 87 | Popular Tags |