[jboss-cvs] JBossAS SVN: r98824 - projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jms-api/src/main/javax/jms.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 22 13:08:48 EST 2009


Author: jaikiran
Date: 2009-12-22 13:08:48 -0500 (Tue, 22 Dec 2009)
New Revision: 98824

Removed:
   projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jms-api/src/main/javax/jms/JMSException.java
Log:
Autoversioning commit:  a non-deltaV client made a change to
/projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jms-api/src/main/javax/jms/JMSException.java

Deleted: projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jms-api/src/main/javax/jms/JMSException.java
===================================================================
--- projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jms-api/src/main/javax/jms/JMSException.java	2009-12-22 18:08:41 UTC (rev 98823)
+++ projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jms-api/src/main/javax/jms/JMSException.java	2009-12-22 18:08:48 UTC (rev 98824)
@@ -1,105 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.jms;
-
-/**
- * <P>This is the root class of all JMS API exceptions.
- *
- * <P>It provides the following information:
- * <UL>
- *   <LI> A provider-specific string describing the error. This string is 
- *        the standard exception message and is available via the
- *        <CODE>getMessage</CODE> method.
- *   <LI> A provider-specific string error code 
- *   <LI> A reference to another exception. Often a JMS API exception will 
- *        be the result of a lower-level problem. If appropriate, this 
- *        lower-level exception can be linked to the JMS API exception.
- * </UL>
- **/
-
-public class JMSException extends Exception
-{
-   private static final long serialVersionUID = 8951994251593378324L;
-
-   /** Vendor-specific error code.
-    **/
-   private String errorCode;
-
-   /** <CODE>Exception</CODE> reference.
-    **/
-   private Exception linkedException;
-
-   /** Constructs a <CODE>JMSException</CODE> with the specified reason and 
-    *  error code.
-    *
-    *  @param  reason        a description of the exception
-    *  @param  errorCode     a string specifying the vendor-specific
-    *                        error code
-    **/
-   public JMSException(String reason, String errorCode)
-   {
-      super(reason);
-      this.errorCode = errorCode;
-      linkedException = null;
-   }
-
-   /** Constructs a <CODE>JMSException</CODE> with the specified reason and with
-    *  the error code defaulting to null.
-    *
-    *  @param  reason        a description of the exception
-    **/
-   public JMSException(String reason)
-   {
-      super(reason);
-      this.errorCode = null;
-      linkedException = null;
-   }
-
-   /** Gets the vendor-specific error code.
-    *  @return   a string specifying the vendor-specific
-    *                        error code
-    **/
-   public String getErrorCode()
-   {
-      return this.errorCode;
-   }
-
-   /**
-    * Gets the exception linked to this one.
-    *
-    * @return the linked <CODE>Exception</CODE>, null if none
-    **/
-   public Exception getLinkedException()
-   {
-      return (linkedException);
-   }
-
-   /**
-    * Adds a linked <CODE>Exception</CODE>.
-    *
-    * @param ex       the linked <CODE>Exception</CODE>
-    **/
-   public synchronized void setLinkedException(Exception ex)
-   {
-      linkedException = ex;
-   }
-}




More information about the jboss-cvs-commits mailing list