Class InvalidPageNumberException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidPageNumberException
    extends java.lang.IllegalArgumentException
    Typed exception used when trying to access to a incorrect page number.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      A serial UID version
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidPageNumberException​(java.lang.String message)
      Creates an instance of a InvalidPageNumberException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        A serial UID version
        See Also:
        Constant Field Values
    • Constructor Detail

      • InvalidPageNumberException

        public InvalidPageNumberException​(java.lang.String message)
        Creates an instance of a InvalidPageNumberException.
        Parameters:
        message - the reason why the page is incorrect.