Permalink
Browse files

Replaced the NotImplemented exception with UnsupportedOperation

  • Loading branch information...
1 parent 15be38b commit 60717966a9f067d79feb2379b29482817cc8641d @rajarshi rajarshi committed with egonw Nov 15, 2010
@@ -30,7 +30,6 @@
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.interfaces.IAtomContainer;
import org.openscience.cdk.smiles.smarts.SMARTSQueryTool;
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.util.BitSet;
import java.util.Map;
@@ -90,7 +89,7 @@ public BitSet getFingerprint(IAtomContainer atomContainer)
/** {@inheritDoc} */
public Map<String, Integer> getRawFingerprint(IAtomContainer iAtomContainer) throws CDKException {
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
@TestMethod("testGetSize")
@@ -32,7 +32,6 @@
import org.openscience.cdk.ringsearch.RingPartitioner;
import org.openscience.cdk.ringsearch.SSSRFinder;
import org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator;
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.util.BitSet;
import java.util.List;
@@ -103,7 +102,7 @@ public BitSet getFingerprint(IAtomContainer container)
/** {@inheritDoc} */
public Map<String, Integer> getRawFingerprint(IAtomContainer iAtomContainer) throws CDKException {
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
/**
@@ -39,7 +39,6 @@
import org.openscience.cdk.tools.LoggingToolFactory;
import org.openscience.cdk.tools.manipulator.AtomContainerManipulator;
import org.openscience.cdk.tools.periodictable.PeriodicTable;
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.util.ArrayList;
import java.util.BitSet;
@@ -200,7 +199,7 @@ public BitSet getFingerprint(IAtomContainer container)
/** {@inheritDoc} */
public Map<String, Integer> getRawFingerprint(IAtomContainer iAtomContainer) throws CDKException {
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
/**
@@ -37,7 +37,6 @@
import org.openscience.cdk.smiles.smarts.SMARTSQueryTool;
import org.openscience.cdk.tools.ILoggingTool;
import org.openscience.cdk.tools.LoggingToolFactory;
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.io.BufferedReader;
import java.io.IOException;
@@ -152,7 +151,7 @@ public BitSet getFingerprint(IAtomContainer atomContainer)
/** {@inheritDoc} */
public Map<String, Integer> getRawFingerprint(IAtomContainer iAtomContainer) throws CDKException {
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
@TestMethod("getsize")
@@ -35,7 +35,6 @@
import org.openscience.cdk.ringsearch.SSSRFinder;
import org.openscience.cdk.smiles.smarts.SMARTSQueryTool;
import org.openscience.cdk.tools.periodictable.PeriodicTable;
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.util.BitSet;
import java.util.Map;
@@ -131,7 +130,7 @@ public BitSet getFingerprint(IAtomContainer atomContainer)
/** {@inheritDoc} */
public Map<String, Integer> getRawFingerprint(IAtomContainer iAtomContainer) throws CDKException {
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
/**
@@ -32,7 +32,6 @@
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.interfaces.IAtomContainer;
import org.openscience.cdk.smiles.smarts.SMARTSQueryTool;
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.util.BitSet;
import java.util.Map;
@@ -425,7 +424,7 @@ public BitSet getFingerprint(IAtomContainer atomContainer)
/** {@inheritDoc} */
public Map<String, Integer> getRawFingerprint(IAtomContainer iAtomContainer) throws CDKException {
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
@TestMethod("testSize")

0 comments on commit 6071796

Please sign in to comment.