Class RestartPaginationException

  • All Implemented Interfaces:
    Serializable

    public class RestartPaginationException
    extends RuntimeException

    Indicates that the pagination should be restarted from the beginning (the start of the current iteration). This may for example occur when a change in the page layout is triggered, such as changing from footnotes (at the bottom of the page) to end notes (at the end of volumes). If this exception is thrown, then all previously successful sequences could be compromised.

    Use with care. This exception should never be thrown in situations where the state that triggered it might return at some point in the future. Misuse may drastically reduce the speed and probability of convergence.

    See Also:
    Serialized Form