public final class IllegalScheduleMessage extends Message
ASCENDING, DESCENDING
Constructor and Description |
---|
IllegalScheduleMessage(Date createDate,
Date executionDate,
int maxDays)
Creates a new
IllegalScheduleMessage instance taking the create date and the date of execution not
forming a valid schedule for a maximum number of days between them. |
public IllegalScheduleMessage(Date createDate, Date executionDate, int maxDays)
IllegalScheduleMessage
instance taking the create date and the date of execution not
forming a valid schedule for a maximum number of days between them.createDate
- The create date of the schedule.executionDate
- The execution date of the schedule.maxDays
- The maximum number of days allowed between createDate
and executionDate
.NullPointerException
- if createDate
is null
.IllegalArgumentException
- if maxDays
is negative.public Object[] getFormatArguments(Locale locale)
getFormatArguments
in class Message
Copyright © 2005–2014 jDTAUS. All rights reserved.