public class UnknownElementMassException extends Exception
Constructor and Description |
---|
UnknownElementMassException(String aElement)
The constructor requires the caller to specify the element
which was not recognized.
|
Modifier and Type | Method and Description |
---|---|
String |
getElement()
Simple getter for the element variable.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnknownElementMassException(String aElement)
aElement
- String with the symbol of the
unrecognized element.public String getElement()
Copyright © 2016. All rights reserved.