harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r472517 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni/src: main/java/org/apache/harmony/luni/util/ test/java/org/apache/harmony/luni/tests/util/
Date Wed, 08 Nov 2006 15:23:05 GMT
Author: tellison
Date: Wed Nov  8 07:23:04 2006
New Revision: 472517

URL: http://svn.apache.org/viewvc?view=rev&rev=472517
Log:
Rename NotYetImplementedException to NotImplementedException to make it detectable by JapiTools.

Added:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotImplementedException.java
      - copied, changed from r472455, incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotYetImplementedException.java
Removed:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotYetImplementedException.java
Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/util/NYITest.java

Copied: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotImplementedException.java
(from r472455, incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotYetImplementedException.java)
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotImplementedException.java?view=diff&rev=472517&p1=incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotYetImplementedException.java&r1=472455&p2=incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotImplementedException.java&r2=472517
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotYetImplementedException.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/NotImplementedException.java
Wed Nov  8 07:23:04 2006
@@ -22,7 +22,7 @@
  * that programs that call the stubs fail early and predictably.
  * 
  */
-public class NotYetImplementedException extends RuntimeException {
+public class NotImplementedException extends RuntimeException {
 
 	/**
 	 * Comment for <code>serialVersionUID</code>
@@ -32,9 +32,9 @@
 	/**
 	 * Default constructor.
 	 */
-	public NotYetImplementedException() {
+	public NotImplementedException() {
 		super();
-		System.err.println("*** NOT YET IMPLEMENTED EXCEPTION ***"); //$NON-NLS-1$
+		System.err.println("*** NOT IMPLEMENTED EXCEPTION ***"); //$NON-NLS-1$
 		StackTraceElement thrower = getStackTrace()[0];
 		System.err
 				.println("*** thrown from class  -> " + thrower.getClassName()); //$NON-NLS-1$
@@ -64,7 +64,7 @@
 	 * 
 	 * @param detailMessage
 	 */
-	public NotYetImplementedException(String detailMessage) {
+	public NotImplementedException(String detailMessage) {
 		super(detailMessage);
 	}
 
@@ -74,7 +74,7 @@
 	 * @param detailMessage
 	 * @param throwable
 	 */
-	public NotYetImplementedException(String detailMessage, Throwable throwable) {
+	public NotImplementedException(String detailMessage, Throwable throwable) {
 		super(detailMessage, throwable);
 	}
 
@@ -83,7 +83,7 @@
 	 * 
 	 * @param throwable
 	 */
-	public NotYetImplementedException(Throwable throwable) {
+	public NotImplementedException(Throwable throwable) {
 		super(throwable);
 	}
 

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/util/NYITest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/util/NYITest.java?view=diff&rev=472517&r1=472516&r2=472517
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/util/NYITest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/util/NYITest.java
Wed Nov  8 07:23:04 2006
@@ -19,7 +19,7 @@
 
 import junit.framework.TestCase;
 
-import org.apache.harmony.luni.util.NotYetImplementedException;
+import org.apache.harmony.luni.util.NotImplementedException;
 
 /**
  * Testing the NYI framework code.
@@ -27,13 +27,13 @@
 public class NYITest extends TestCase {
 
     public void testNYI() {
-        System.err.println("Test suite -> expect a Not yet implemented output >>>");
+        System.err.println("Test suite -> expect a not implemented output >>>");
         try {
-            throw new NotYetImplementedException();
-        } catch (NotYetImplementedException exception) {
+            throw new NotImplementedException();
+        } catch (NotImplementedException exception) {
             // Expected
         }
-        System.err.println("Test suite finished Not yet implemented output <<<");
+        System.err.println("Test suite finished not implemented output <<<");
     }
 
 }



Mime
View raw message