getRetriesRemaining() throws IllegalStateException Returns the number of retries remaining for the current exception block. This method is only valid within an exception handler, or in a block of code that contains an exception handler. Throws IllegalStateException if not currently in an exception block or handler. |