com.compomics.util.general
Class UnknownElementMassException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.compomics.util.general.UnknownElementMassException
- All Implemented Interfaces:
- Serializable
public class UnknownElementMassException
- extends Exception
This class implements an Exception, thrown when a MassCalc instance
is confronted with an element symbol it cannot retrieve in its
element lists.
- Author:
- Lennart Martens
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnknownElementMassException
public UnknownElementMassException(String aElement)
- The constructor requires the caller to specify the element
which was not recognized.
- Parameters:
aElement
- String with the symbol of the
unrecognized element.
getElement
public String getElement()
- Simple getter for the element variable.
- Returns:
- String the symbol for the unknown element.
Copyright © 2012. All Rights Reserved.