[jboss-cvs] JBossAS SVN: r98584 - projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaxr-api/src/main/javax/xml/registry.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 22 12:35:12 EST 2009
Author: jaikiran
Date: 2009-12-22 12:35:12 -0500 (Tue, 22 Dec 2009)
New Revision: 98584
Removed:
projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaxr-api/src/main/javax/xml/registry/JAXRException.java
Log:
Autoversioning commit: a non-deltaV client made a change to
/projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaxr-api/src/main/javax/xml/registry/JAXRException.java
Deleted: projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaxr-api/src/main/javax/xml/registry/JAXRException.java
===================================================================
--- projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaxr-api/src/main/javax/xml/registry/JAXRException.java 2009-12-22 17:35:04 UTC (rev 98583)
+++ projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jaxr-api/src/main/javax/xml/registry/JAXRException.java 2009-12-22 17:35:12 UTC (rev 98584)
@@ -1,87 +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.xml.registry;
-
-/**
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public class JAXRException extends Exception
- implements JAXRResponse
-{
- private static final long serialVersionUID = -396751348710944315L;
-
- protected Throwable cause;
-
- public JAXRException()
- {
- }
- public JAXRException(String msg)
- {
- super(msg);
- }
- public JAXRException(String msg, Throwable cause)
- {
- super(msg, cause);
- }
- public JAXRException(Throwable cause)
- {
- super(cause);
- }
- public String getRequestId()
- {
- return null;
- }
- public int getStatus()
- {
- return 0;
- }
- public boolean isAvailable() throws JAXRException
- {
- return true;
- }
-
- /** Initializes the cause of this throwable to the specified value. (The
- * cause is the throwable that caused this throwable to get thrown.)
- *
- * This method can be called at most once. It is generally called from
- * within the constructor, or immediately after creating the throwable. If
- * this throwable was created with JAXRException(Throwable) or
- * JAXRException(String,Throwable), this method cannot be called even once.
- *
- * @param cause
- * @return this
- */
- public Throwable initCause(Throwable cause)
- {
- if( this.cause != null )
- {
- if( this.cause == this )
- throw new IllegalArgumentException("A throwable cannot be its own cause.");
- else
- throw new IllegalStateException("cause has already been set");
- }
- this.cause = cause;
- super.initCause(cause);
- return this;
- }
-}
More information about the jboss-cvs-commits
mailing list