Class NoSuchMonthException

  • All Implemented Interfaces:
    Serializable

    public class NoSuchMonthException
    extends RuntimeException
    Throws when the displayed month cannot be found by the stringToMonth function.
    Since:
    1.8
    Author:
    Jack Yin
    See Also:
    Serialized Form
    • Constructor Detail

      • NoSuchMonthException

        public NoSuchMonthException​(String message)
        Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.