Package com.compomics.util.general
Class UnknownElementMassException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.compomics.util.general.UnknownElementMassException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownElementMassException(String aElement) The constructor requires the caller to specify the element which was not recognized. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownElementMassException
The constructor requires the caller to specify the element which was not recognized.- Parameters:
aElement- String with the symbol of the unrecognized element.
-
-
Method Details
-
getElement
Simple getter for the element variable.- Returns:
- String the symbol for the unknown element.
-