NumberFormatExceptionNumberFormatException
A string cannot be parsed as a number.
IllegalArgumentExceptionA method receives an argument that is not valid for its expected range or format.
The value passed to a method does not meet the method's preconditions. This includes negative values where positives are expected, empty strings, null values, or values outside an acceptable range.
Validate arguments before passing them to the method. Check the method's documentation for valid input ranges. Add input validation at the entry points of your methods.
NumberFormatExceptionA string cannot be parsed as a number.
NoSuchElementExceptionAn attempt to retrieve an element from an empty collection or exhausted iterator.
ExecutionExceptionAn exception occurred during the execution of a task submitted to an executor.
IllegalThreadStateExceptionA thread operation is performed when the thread is not in an appropriate state.
ClassCastExceptionAn object is cast to a type that it is not an instance of.
OutOfMemoryErrorThe JVM has exhausted its available heap memory.