The java.util.Scanner.ioException() method returns the IOException last thrown by this Scanner's underlying Readable. This method returns null if no such exception exists. Following is the declaration for java.util.Scanner.ioException() method.
Stress has a shocking effect on your body - an effect that is almost impossible to quantify, and one that can affect you in ways that even doctors don't understand. But generally there are two causes of rib pain from anxiety. Tension Muscle tension in your chest and stomach has a tendency to lead to rib pain.
The most worrying cause of left-sided pain under your ribs is a heart attack. Heart attacks happen when there is a lack of oxygen-rich blood that gets to the heart. This is often caused by a blockage in your coronary arteries.