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.
Sometimes the ribs are not broken but there is bruising of ribs or nearby muscles. Rib injuries occur when there is a force to the chest such as from a fall, road accident or assault. Rib injuries can also be caused by the force of your own muscles - for example, with severe coughing, straining, or heavy sports.