Package ninja.scheduler.cron
Class BadCronExpressionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ninja.scheduler.cron.BadCronExpressionException
-
- All Implemented Interfaces:
Serializable
public class BadCronExpressionException extends RuntimeException
Exception thrown if there is a problem when parsing a CRON expression.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBadCronExpressionException(String errorMessage, Object... stringFormatArgs)Build a new instance.protectedBadCronExpressionException(BadCronExpressionException causeException, String errorMessage, Object... stringFormatArgs)Build a new instance.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BadCronExpressionException
protected BadCronExpressionException(String errorMessage, Object... stringFormatArgs)
Build a new instance.- Parameters:
errorMessage- The error message formatstringFormatArgs- The arguments for the error message format
-
BadCronExpressionException
protected BadCronExpressionException(BadCronExpressionException causeException, String errorMessage, Object... stringFormatArgs)
Build a new instance.- Parameters:
causeException- The root exceptionerrorMessage- The error messagestringFormatArgs- The arguments for the error message format
-
-