commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1100885 - in /commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime: platform/unix/UnixException.java platform/windows/WindowsException.java util/Sockets.java
Date Mon, 09 May 2011 04:44:09 GMT
Author: mturk
Date: Mon May  9 04:44:08 2011
New Revision: 1100885

URL: http://svn.apache.org/viewvc?rev=1100885&view=rev
Log:
Add root platform system exception classes

Added:
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/unix/UnixException.java
  (with props)
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/WindowsException.java
  (with props)
Modified:
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Sockets.java

Added: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/unix/UnixException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/unix/UnixException.java?rev=1100885&view=auto
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/unix/UnixException.java
(added)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/unix/UnixException.java
Mon May  9 04:44:08 2011
@@ -0,0 +1,39 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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 org.apache.commons.runtime.platform.unix;
+
+import org.apache.commons.runtime.SystemException;
+/**
+ * UnixException
+ *
+ * @author Mladen Turk
+ *
+ */
+
+public class UnixException extends SystemException
+{
+
+    public UnixException()
+    {
+        super();
+    }
+
+    public UnixException(String msg)
+    {
+        super(msg);
+    }
+}

Propchange: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/unix/UnixException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/WindowsException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/WindowsException.java?rev=1100885&view=auto
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/WindowsException.java
(added)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/WindowsException.java
Mon May  9 04:44:08 2011
@@ -0,0 +1,39 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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 org.apache.commons.runtime.platform.unix;
+
+import org.apache.commons.runtime.SystemException;
+/**
+ * WindowsException
+ *
+ * @author Mladen Turk
+ *
+ */
+
+public class WindowsException extends SystemException
+{
+
+    public WindowsException()
+    {
+        super();
+    }
+
+    public WindowsException(String msg)
+    {
+        super(msg);
+    }
+}

Propchange: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/WindowsException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Sockets.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Sockets.java?rev=1100885&r1=1100884&r2=1100885&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Sockets.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Sockets.java
Mon May  9 04:44:08 2011
@@ -28,7 +28,10 @@ import java.net.SocketException;
 import org.apache.commons.runtime.Status;
 
 /**
- * Modifes Java Sockets
+ * Low level Socket access.
+ * <p>
+ * The methods of this class allow low level access to {@code java.net.Socket}
+ * classes.
  */
 public final class Sockets
 {



Mime
View raw message