geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1544426 - in /geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi: DefinitionException.java DeploymentException.java
Date Fri, 22 Nov 2013 07:47:02 GMT
Author: struberg
Date: Fri Nov 22 07:47:01 2013
New Revision: 1544426

URL: http://svn.apache.org/r1544426
Log:
GERONIMO-6458 remove java7 Exception cts

As per spec those Exceptions do only implement the java5 Exception constructors.
Allows for compiling with java6.

Modified:
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DefinitionException.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DeploymentException.java

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DefinitionException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DefinitionException.java?rev=1544426&r1=1544425&r2=1544426&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DefinitionException.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DefinitionException.java
Fri Nov 22 07:47:01 2013
@@ -26,22 +26,23 @@ package javax.enterprise.inject.spi;
  */
 public class DefinitionException extends RuntimeException
 {
-    public DefinitionException() {
+    public DefinitionException()
+    {
     }
 
-    public DefinitionException(Throwable cause) {
+    public DefinitionException(Throwable cause)
+    {
         super(cause);
     }
 
-    public DefinitionException(String message) {
+    public DefinitionException(String message)
+    {
         super(message);
     }
 
-    public DefinitionException(String message, Throwable cause) {
+    public DefinitionException(String message, Throwable cause)
+    {
         super(message, cause);
     }
 
-    public DefinitionException(String message, Throwable cause, boolean enableSuppression,
boolean writableStackTrace) {
-        super(message, cause, enableSuppression, writableStackTrace);
-    }
 }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DeploymentException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DeploymentException.java?rev=1544426&r1=1544425&r2=1544426&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DeploymentException.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/DeploymentException.java
Fri Nov 22 07:47:01 2013
@@ -27,22 +27,22 @@ package javax.enterprise.inject.spi;
  */
 public class DeploymentException extends RuntimeException
 {
-    public DeploymentException() {
+    public DeploymentException()
+    {
     }
 
-    public DeploymentException(Throwable cause) {
+    public DeploymentException(Throwable cause)
+    {
         super(cause);
     }
 
-    public DeploymentException(String message) {
+    public DeploymentException(String message)
+    {
         super(message);
     }
 
-    public DeploymentException(String message, Throwable cause) {
+    public DeploymentException(String message, Throwable cause)
+    {
         super(message, cause);
     }
-
-    public DeploymentException(String message, Throwable cause, boolean enableSuppression,
boolean writableStackTrace) {
-        super(message, cause, enableSuppression, writableStackTrace);
-    }
 }



Mime
View raw message