geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r550523 [2/2] - in /geronimo/server/trunk/modules: geronimo-myfaces-builder/src/main/java/org/apache/geronimo/myfaces/deployment/ geronimo-naming-builder/src/main/java/org/apache/geronimo/naming/deployment/ geronimo-naming/src/main/java/org...
Date Mon, 25 Jun 2007 15:02:12 GMT
Modified: geronimo/server/trunk/modules/geronimo-util/src/main/java/org/apache/geronimo/util/jce/provider/X509CertificateObject.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-util/src/main/java/org/apache/geronimo/util/jce/provider/X509CertificateObject.java?view=diff&rev=550523&r1=550522&r2=550523
==============================================================================
--- geronimo/server/trunk/modules/geronimo-util/src/main/java/org/apache/geronimo/util/jce/provider/X509CertificateObject.java
(original)
+++ geronimo/server/trunk/modules/geronimo-util/src/main/java/org/apache/geronimo/util/jce/provider/X509CertificateObject.java
Mon Jun 25 08:02:09 2007
@@ -126,7 +126,7 @@
         }
         catch (IOException e)
         {
-            throw new IllegalStateException("can't encode issuer DN");
+            throw new IllegalStateException("can't encode issuer DN", e);
         }
     }
 
@@ -148,7 +148,7 @@
         }
         catch (IOException e)
         {
-            throw new IllegalStateException("can't encode issuer DN");
+            throw new IllegalStateException("can't encode issuer DN", e);
         }
     }
 
@@ -176,7 +176,7 @@
         }
         catch (IOException e)
         {
-            throw new CertificateEncodingException(e.toString());
+            throw (CertificateEncodingException)new CertificateEncodingException(e.getMessage()).initCause(e);
         }
     }
 
@@ -233,7 +233,7 @@
             }
             catch (Exception e)
             {
-                throw new RuntimeException("exception getting sig parameters " + e);
+                throw new RuntimeException("exception getting sig parameters " + e.getMessage(),
e);
             }
 
             return bOut.toByteArray();
@@ -301,7 +301,7 @@
             }
             catch (Exception e)
             {
-                throw new RuntimeException("error processing key usage extension");
+                throw new RuntimeException("error processing key usage extension", e);
             }
 
             boolean[]       keyUsage = new boolean[(length < 9) ? 9 : length];
@@ -340,7 +340,7 @@
             }
             catch (Exception e)
             {
-                throw new CertificateParsingException("error processing extended key usage
extension");
+                throw (CertificateParsingException)new CertificateParsingException("error
processing extended key usage extension").initCause(e);
             }
         }
 
@@ -390,7 +390,7 @@
             }
             catch (Exception e)
             {
-                throw new RuntimeException("error processing key usage extension");
+                throw new RuntimeException("error processing key usage extension", e);
             }
         }
 
@@ -463,7 +463,7 @@
                 }
                 catch (Exception e)
                 {
-                    throw new RuntimeException("error encoding " + e.toString());
+                    throw new RuntimeException("error encoding " + e.getMessage(), e);
                 }
             }
         }
@@ -551,7 +551,7 @@
         }
         catch (IOException e)
         {
-            throw new CertificateEncodingException(e.toString());
+            throw (CertificateEncodingException)new CertificateEncodingException(e.getMessage()).initCause(e);
         }
     }
 

Modified: geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/main/java/org/apache/geronimo/web25/deployment/AbstractWebModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/main/java/org/apache/geronimo/web25/deployment/AbstractWebModuleBuilder.java?view=diff&rev=550523&r1=550522&r2=550523
==============================================================================
--- geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/main/java/org/apache/geronimo/web25/deployment/AbstractWebModuleBuilder.java
(original)
+++ geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/main/java/org/apache/geronimo/web25/deployment/AbstractWebModuleBuilder.java
Mon Jun 25 08:02:09 2007
@@ -751,7 +751,7 @@
                 try {
                     clas = classLoader.loadClass(cls.getStringValue());
                 } catch (ClassNotFoundException e) {
-                    throw new DeploymentException("AbstractWebModuleBuilder: Could not load
servlet class: " + cls.getStringValue());
+                    throw new DeploymentException("AbstractWebModuleBuilder: Could not load
servlet class: " + cls.getStringValue(), e);
                 }
                 addClass(classes, clas);
             }
@@ -765,7 +765,7 @@
             try {
                 clas = classLoader.loadClass(cls.getStringValue());
             } catch (ClassNotFoundException e) {
-                throw new DeploymentException("AbstractWebModuleBuilder: Could not load listener
class: " + cls.getStringValue());
+                throw new DeploymentException("AbstractWebModuleBuilder: Could not load listener
class: " + cls.getStringValue(), e);
             }
             addClass(classes, clas);
         }
@@ -778,7 +778,7 @@
             try {
                 clas = classLoader.loadClass(cls.getStringValue());
             } catch (ClassNotFoundException e) {
-                throw new DeploymentException("AbstractWebModuleBuilder: Could not load filter
class: " + cls.getStringValue());
+                throw new DeploymentException("AbstractWebModuleBuilder: Could not load filter
class: " + cls.getStringValue(), e);
             }
             addClass(classes, clas);
         }

Modified: geronimo/server/trunk/modules/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/PortInfo.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/PortInfo.java?view=diff&rev=550523&r1=550522&r2=550523
==============================================================================
--- geronimo/server/trunk/modules/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/PortInfo.java
(original)
+++ geronimo/server/trunk/modules/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/PortInfo.java
Mon Jun 25 08:02:09 2007
@@ -125,7 +125,7 @@
         try {
             this.contextURI = new URI(this.location);
         } catch (URISyntaxException e) {
-            throw new DeploymentException("Could not construct URI for web service location");
+            throw new DeploymentException("Could not construct URI for web service location",
e);
         }
     }
 }

Modified: geronimo/server/trunk/modules/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/SharedPortInfo.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/SharedPortInfo.java?view=diff&rev=550523&r1=550522&r2=550523
==============================================================================
--- geronimo/server/trunk/modules/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/SharedPortInfo.java
(original)
+++ geronimo/server/trunk/modules/geronimo-webservices-builder/src/main/java/org/apache/geronimo/webservices/builder/SharedPortInfo.java
Mon Jun 25 08:02:09 2007
@@ -64,7 +64,7 @@
                 jaxrpcMappingURI = new URI(this.jaxrpcMappingFile);
             } catch (URISyntaxException e) {
                 throw new DeploymentException("Could not construct jaxrpc mapping uri from
"
-                                              + this.jaxrpcMappingFile);
+                                              + this.jaxrpcMappingFile, e);
             }
 
             this.javaWsdlMapping = WSDescriptorParser.readJaxrpcMapping(moduleFile, jaxrpcMappingURI);
@@ -76,7 +76,7 @@
                 wsdlURI = new URI(this.wsdlLocation);
             } catch (URISyntaxException e) {
                 throw new DeploymentException("could not construct wsdl uri from "
-                                              + this.wsdlLocation);
+                                              + this.wsdlLocation, e);
             }
 
             this.schemaInfoBuilder = new SchemaInfoBuilder(moduleFile, wsdlURI);

Modified: geronimo/server/trunk/modules/geronimo-webservices/src/main/java/org/apache/geronimo/webservices/WebServiceContainerInvoker.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-webservices/src/main/java/org/apache/geronimo/webservices/WebServiceContainerInvoker.java?view=diff&rev=550523&r1=550522&r2=550523
==============================================================================
--- geronimo/server/trunk/modules/geronimo-webservices/src/main/java/org/apache/geronimo/webservices/WebServiceContainerInvoker.java
(original)
+++ geronimo/server/trunk/modules/geronimo-webservices/src/main/java/org/apache/geronimo/webservices/WebServiceContainerInvoker.java
Mon Jun 25 08:02:09 2007
@@ -115,7 +115,7 @@
             try {
                 return new java.net.URI(request.getScheme(), null, request.getServerName(),
request.getServerPort(), request.getRequestURI(), request.getQueryString(), null);
             } catch (URISyntaxException e) {
-                throw new IllegalStateException(e.getMessage());
+                throw new IllegalStateException(e.getMessage(), e);
             }
         }
 

Modified: geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java?view=diff&rev=550523&r1=550522&r2=550523
==============================================================================
--- geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java
(original)
+++ geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java
Mon Jun 25 08:02:09 2007
@@ -377,7 +377,7 @@
                     socketFactory = sslConfig.createSSLFactory(Thread.currentThread().getContextClassLoader());
                 } catch (Exception e) {
                     log.error("Unable to create client SSL socket factory", e);
-                    throw new IOException("Unable to create client SSL socket factory: "
+ e.getMessage());
+                    throw (IOException)new IOException("Unable to create client SSL socket
factory: " + e.getMessage()).initCause(e);
                 }
             }
         }
@@ -404,7 +404,7 @@
                     serverSocketFactory = sslConfig.createSSLServerFactory(Thread.currentThread().getContextClassLoader());
                 } catch (Exception e) {
                     log.error("Unable to create server SSL socket factory", e);
-                    throw new IOException("Unable to create server SSL socket factory: "
+ e.getMessage());
+                    throw (IOException)new IOException("Unable to create server SSL socket
factory: " + e.getMessage()).initCause(e);
                 }
             }
             // we have a socket factory....now get our cipher suite set based on our requirements
and what's



Mime
View raw message