Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE3B4405F for ; Mon, 9 May 2011 04:44:32 +0000 (UTC) Received: (qmail 44747 invoked by uid 500); 9 May 2011 04:44:31 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 44696 invoked by uid 500); 9 May 2011 04:44:31 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 44687 invoked by uid 99); 9 May 2011 04:44:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2011 04:44:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2011 04:44:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3E3052388A33; Mon, 9 May 2011 04:44:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110509044409.3E3052388A33@eris.apache.org> 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. + *

+ * The methods of this class allow low level access to {@code java.net.Socket} + * classes. */ public final class Sockets {