Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.
Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.