InvalidTimeException
This exception is thrown whenever a provided time value is invalid. This typically occurs when a time value is negative or otherwise nonsensical in the context it's being used.
Methods
InvalidTimeException(String message)
Constructs a new InvalidTimeException with the specified detail message.
message: The detail message (aString) explaining the reason for the exception.