public final class IllegalDateMessage extends Message
ASCENDING, DESCENDING
Constructor and Description |
---|
IllegalDateMessage(Date date,
Date dateRangeStart,
Date dateRangeEnd)
Creates a new
IllegalDateMessage instance taking the illegal date and the range of dates for which a
date is considered legal. |
public IllegalDateMessage(Date date, Date dateRangeStart, Date dateRangeEnd)
IllegalDateMessage
instance taking the illegal date and the range of dates for which a
date is considered legal.date
- The illegal date.dateRangeStart
- The starting date of the range for valid dates.dateRangeEnd
- The ending date of the range for valid dates.NullPointerException
- if either date
, dateRangeStart
or dateRangeEnd
is
null
.public Object[] getFormatArguments(Locale locale)
getFormatArguments
in class Message
Copyright © 2005–2014 jDTAUS. All rights reserved.