* if cronStr is not a valid CRON string.
*/
public void setCronString( String cronStr ) throws CronParseException {
// Try original simplistic parser...
CronParser cp = new CronParser( cronStr );
String recurrenceStr = null;
try {
recurrenceStr = cp.parseToRecurrenceString(); // throws CronParseException
} catch ( CronParseException e ) {
if ( !CronExpression.isValidExpression( cronStr ) ) { // Parse with proper expression parser
throw e;
}
recurrenceStr = null; // valid cronstring, not parse-able to recurrence string