commit | 01aa0a8226a98edae7476cfaad662052f9cf4d85 | [log] [tgz] |
---|---|---|
author | Derek Baum <dbaum@apache.org> | Thu May 06 00:08:54 2010 +0000 |
committer | Derek Baum <dbaum@apache.org> | Thu May 06 00:08:54 2010 +0000 |
tree | ccba608703324795f896ac5225a5b7c317d3b5c0 | |
parent | c768352f8e4f783d668559ece5865839927ac206 [diff] |
fix wrong exception: OperationNotSupportedException -> UnsupportedOperationException git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@941552 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java b/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java index 714a45c..d70c7d7 100644 --- a/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java +++ b/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java
@@ -23,8 +23,6 @@ import java.util.HashMap; import java.util.Map; -import javax.naming.OperationNotSupportedException; - import org.apache.felix.gogo.runtime.shell.Tokenizer.Type; import junit.framework.TestCase; @@ -40,7 +38,7 @@ { public Object eval(Token t) throws Exception { - throw new OperationNotSupportedException(); + throw new UnsupportedOperationException("eval not implemented."); } public Object get(String key)