1 22 package org.jboss.deployment; 23 24 34 public class DeploymentException extends org.jboss.deployers.spi.DeploymentException 35 { 36 37 private static final long serialVersionUID = 1416258464473965574L; 38 39 46 public static DeploymentException rethrowAsDeploymentException(String message, Throwable t) 47 throws DeploymentException 48 { 49 if (t instanceof DeploymentException) 50 throw (DeploymentException) t; 51 else 52 throw new DeploymentException(message, t); 53 } 54 55 61 public DeploymentException(String msg) 62 { 63 super(msg); 64 } 65 66 73 public DeploymentException(String msg, Throwable nested) 74 { 75 super(msg, nested); 76 } 77 78 84 public DeploymentException(Throwable nested) 85 { 86 super(nested); 87 } 88 89 92 public DeploymentException() 93 { 94 super(); 95 } 96 } 97 | Popular Tags |