[Ejtools-cvs] libraries/j2ee.deployment/src/main/javax/enterprise/deploy/spi/exceptions BeanNotFound
Brought to you by:
letiemble
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src/main/javax/enterprise/deploy/spi/exceptions In directory sc8-pr-cvs1:/tmp/cvs-serv4692/src/main/javax/enterprise/deploy/spi/exceptions Added Files: BeanNotFoundException.java ClientExecuteException.java ConfigurationException.java DConfigBeanVersionUnsupportedException.java DeploymentManagerCreationException.java InvalidModuleException.java OperationUnsupportedException.java TargetException.java package.html Log Message: Add up-to-date implementation for the JSR 88. No need for the Sun one. --- NEW FILE: BeanNotFoundException.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report that the bean is not a child of the parent bean. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class BeanNotFoundException extends Exception { /** * Creates an new <code>BeanNotFoundException</code> object. * * @param s a string indicating what was wrong with the Bean. */ public BeanNotFoundException(String s) { super(s); } } --- NEW FILE: ClientExecuteException.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.spi.exceptions; /** * This exception reports errors in setting up an application client for execution. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class ClientExecuteException extends Exception { /** Creates new <code>ClientExecuteException</code> without detail message. */ public ClientExecuteException() { super(); } /** * Constructs an <code>ClientExecuteException</code> with the specified detail * message. * * @param msg the detail message. */ public ClientExecuteException(String msg) { super(msg); } } --- NEW FILE: ConfigurationException.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.spi.exceptions; /** * This exception reports errors in generating a configuration bean. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class ConfigurationException extends Exception { /** Creates new <code>ConfigurationException</code> without detail message. */ public ConfigurationException() { super(); } /** * Constructs an <code>ConfigurationException</code> with the specified detail * message. * * @param msg the detail message. */ public ConfigurationException(String msg) { super(msg); } /** * Constructor for the ConfigurationException object * * @param cause Description of the Parameter */ public ConfigurationException(Throwable cause) { super(cause); } /** * Constructor for the ConfigurationException object * * @param message Description of the Parameter * @param cause Description of the Parameter */ public ConfigurationException(String message, Throwable cause) { super(message, cause); } } --- NEW FILE: DConfigBeanVersionUnsupportedException.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report that there is no support for the DConfigBean version * requested. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class DConfigBeanVersionUnsupportedException extends Exception { /** * Creates an new <code>DConfigBeanVersionUnsupportedException</code> object. * * @param s a string indicating what was wrong with the version request. */ public DConfigBeanVersionUnsupportedException(String s) { super(s); } } --- NEW FILE: DeploymentManagerCreationException.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report problems in returning a DeploymentManager object cause * by such things as server down, unable to authenticate and the like. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class DeploymentManagerCreationException extends Exception { /** * Creates an new <code>DeploymentManagerCreationException</code> object. * * @param s a string providing more information about the problem. */ public DeploymentManagerCreationException(String s) { super(s); } } --- NEW FILE: InvalidModuleException.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report an invalid J2EE deployment module type. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class InvalidModuleException extends Exception { /** * Creates an new <code>InvalidModuleException</code> object. * * @param s a string indicating what was wrong with the module type. */ public InvalidModuleException(String s) { super(s); } } --- NEW FILE: OperationUnsupportedException.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report that the method called is not supported by this implementation. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class OperationUnsupportedException extends Exception { /** * Creates an new <code>OperationUnsupportedException</code> object. * * @param s a string indicating what was wrong with the operation. */ public OperationUnsupportedException(String s) { super(s); } } --- NEW FILE: TargetException.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report bad target designators. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class TargetException extends Exception { /** * Creates an new <code>TargetException</code> object. * * @param s a string indicating what was wrong with the target. */ public TargetException(String s) { super(s); } } --- NEW FILE: package.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!-- EJTools, the Enterprise Java Tools Distributable under LGPL license. See terms of license at www.gnu.org. $Revision: 1.1 $ --> <html> <head/> <body> Provides J2EE Product Vendor deployment exception implementation classes. <h2>Package Specification</h2> <ul> <li><a href="http://jcp.org/jsr/detail/88.jsp">JSR 88, J2EE Application Deployment</a></li> </ul> <h2>Related Documentation</h2> For overviews, tutorials, examples, guides, and tool documentation, please see: <ul> <li><a href="http://java.sun.com/j2ee/tools">J2EE Tools</a></li> </ul> </body> </html> |