[webbeans-commits] Webbeans SVN: r797 - ri/trunk/webbeans-api/src/main/java/javax/webbeans.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Tue Jan 6 18:37:27 EST 2009


Author: pete.muir at jboss.org
Date: 2009-01-06 18:37:27 -0500 (Tue, 06 Jan 2009)
New Revision: 797

Modified:
   ri/trunk/webbeans-api/src/main/java/javax/webbeans/ContextNotActiveException.java
Log:
Javadoc

Modified: ri/trunk/webbeans-api/src/main/java/javax/webbeans/ContextNotActiveException.java
===================================================================
--- ri/trunk/webbeans-api/src/main/java/javax/webbeans/ContextNotActiveException.java	2009-01-06 23:12:31 UTC (rev 796)
+++ ri/trunk/webbeans-api/src/main/java/javax/webbeans/ContextNotActiveException.java	2009-01-06 23:37:27 UTC (rev 797)
@@ -1,24 +1,28 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, Red Hat Middleware LLC, and individual contributors
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-* http://www.apache.org/licenses/LICENSE-2.0
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,  
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,  
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 package javax.webbeans;
 
 /**
- * This exception is thrown if an invocation is performed on an inactive scope.
+ * A ContextNotActiveException is thrown if at a particular point in the
+ * execution of the program the scope is inactive with respect to the current
+ * thread. When the scope is inactive, any invocation of the get() from the
+ * current thread upon the Context object for that scope results in a
+ * ContextNotActiveException.
  * 
  * @author Pete Muir
  * @author Shane Bryzak
@@ -26,25 +30,25 @@
 
 public class ContextNotActiveException extends ExecutionException
 {
-
+   
    public ContextNotActiveException()
    {
       super();
    }
-
+   
    public ContextNotActiveException(String message)
    {
       super(message);
    }
-
+   
    public ContextNotActiveException(Throwable cause)
    {
       super(cause);
    }
-
+   
    public ContextNotActiveException(String message, Throwable cause)
    {
       super(message, cause);
    }
-
+   
 }




More information about the weld-commits mailing list