Package revxrsal.commands.exception
Class InvalidHelpPageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
revxrsal.commands.exception.InvalidHelpPageException
- All Implemented Interfaces:
Serializable
Thrown when an invalid page is supplied in
CommandHelp.paginate(int, int)
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of available pages in this command help.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidHelpPageException
public InvalidHelpPageException()
-
-
Method Details
-
getPageCount
public int getPageCount()Returns the number of available pages in this command help.- Returns:
- The page count
-