commit | 3ed7beb35eb7cfe6e242a02b8de010afcf128efe | [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 | c578f444bb3c2bc192ee74294398fdfac8a237a9 [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)