1 22 package org.jboss.deployers.spi; 23 24 31 public class DeploymentException extends Exception 32 { 33 34 private static final long serialVersionUID = 4495361010574179178L; 35 36 44 public static DeploymentException rethrowAsDeploymentException(String message, Throwable t) throws DeploymentException 45 { 46 if (t instanceof DeploymentException) 47 throw (DeploymentException) t; 48 else 49 throw new DeploymentException(message, t); 50 } 51 52 56 public DeploymentException() 57 { 58 } 59 60 68 public DeploymentException(String s) 69 { 70 super(s); 71 } 72 73 82 public DeploymentException(String s, Throwable cause) 83 { 84 super(s, cause); 85 } 86 87 97 public DeploymentException(Throwable cause) 98 { 99 super(cause); 100 } 101 } 102 | Popular Tags |