Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
declare thrown BioclipseException
Fixes bug: 3004. However this needs to be correct in manager interfaces. At least now a warning is written to the log.
  • Loading branch information
jonalv committed Apr 13, 2012
1 parent 84c8477 commit 2bdb52e
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -13,6 +13,7 @@
import net.bioclipse.cdk.domain.ICDKMolecule;
import net.bioclipse.core.PublishedClass;
import net.bioclipse.core.PublishedMethod;
import net.bioclipse.core.business.BioclipseException;
import net.bioclipse.managers.business.IBioclipseManager;

@PublishedClass(
Expand All @@ -26,12 +27,14 @@ public interface IOpsinManager extends IBioclipseManager {
params="String iupacName",
methodSummary="Converts an IUPAC name into a chemical structure"
)
public ICDKMolecule parseIUPACName(String iupacName);
public ICDKMolecule parseIUPACName(String iupacName)
throws BioclipseException;

@PublishedMethod(
params="String iupacName",
methodSummary="Converts an IUPAC name into a CML document"
)
public String parseIUPACNameAsCML(String iupacName);
public String parseIUPACNameAsCML(String iupacName)
throws BioclipseException;

}

0 comments on commit 2bdb52e

Please sign in to comment.