felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsav...@apache.org
Subject svn commit: r814201 - in /felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi: LDAPParseException.java ParseState.java
Date Sat, 12 Sep 2009 17:13:17 GMT
Author: dsavage
Date: Sat Sep 12 17:13:16 2009
New Revision: 814201

URL: http://svn.apache.org/viewvc?rev=814201&view=rev
Log:
make LDAPParseException a runtime exception vs checked exception plus trivial tidy up in ParseState

Modified:
    felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/LDAPParseException.java
    felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/ParseState.java

Modified: felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/LDAPParseException.java
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/LDAPParseException.java?rev=814201&r1=814200&r2=814201&view=diff
==============================================================================
--- felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/LDAPParseException.java
(original)
+++ felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/LDAPParseException.java
Sat Sep 12 17:13:16 2009
@@ -20,13 +20,9 @@
 package org.apache.felix.sigil.common.osgi;
 
 
-public class LDAPParseException extends Exception
+public class LDAPParseException extends RuntimeException
 {
-
-    /**
-     * 
-     */
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 2L;
 
     private ParseState ps;
     private static final String LINE_SEPARATOR = System.getProperty( "line.separator", "\\r\\n"
);

Modified: felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/ParseState.java
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/ParseState.java?rev=814201&r1=814200&r2=814201&view=diff
==============================================================================
--- felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/ParseState.java (original)
+++ felix/trunk/sigil/common/osgi/src/org/apache/felix/sigil/common/osgi/ParseState.java Sat
Sep 12 17:13:16 2009
@@ -29,9 +29,6 @@
  */
 class ParseState implements Serializable
 {
-    /**
-     * 
-     */
     private static final long serialVersionUID = 1L;
 
     int pos;



Mime
View raw message