Painful menstrual periods are periods in which a woman has crampy lower abdominal pain, sharp or aching pain that comes and goes, or possibly back pain. Some pain during your period is normal, but a large amount of pain is not. The medical term for painful menstrual periods is dysmenorrhea.
When an exception occurs, we say that the exception is thrown. For example, we say that Integer.parseInt(str) throws an exception of type NumberFormatException when the value of str is illegal. When an exception is thrown, it is possible to catch the exception and prevent it from crashing the program. This is done with a try..catch statement.
ArrayIndexOutOfBoundsException - Examples, Causes & Fixes. An array-index out of bounds exception is a Java exception thrown due to the fact that the program is trying to access an. element at a position that is outside an array limit, hence the words Out of bounds. In other words, the program is trying to. access an element at an index that is outside the array bounds.