Class DateTimeConstantOutOfBoundsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
-
- com.redwood.scheduler.api.exception.SchedulerAPIRuntimeException
-
- com.redwood.scheduler.api.exception.DateTimeConstantOutOfBoundsException
-
- All Implemented Interfaces:
ExceptionData
,Serializable
@Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl") public class DateTimeConstantOutOfBoundsException extends SchedulerAPIRuntimeException
A day has been entered that is out of the specified allowed range.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DateTimeConstantOutOfBoundsException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
DateTimeConstantOutOfBoundsException(Throwable cause, String valueName, long invalidValue, long lowerBound, long upperBound)
A day has been entered that is out of the specified allowed range.
-
Method Summary
-
Methods inherited from class com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
bestException, getDefaultMessageFormat, getErrorCode, getExceptionData, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageUnformatted, getTranslation, isSystemLoggable, skipException, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
DateTimeConstantOutOfBoundsException
protected DateTimeConstantOutOfBoundsException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
-
DateTimeConstantOutOfBoundsException
public DateTimeConstantOutOfBoundsException(Throwable cause, String valueName, long invalidValue, long lowerBound, long upperBound)
A day has been entered that is out of the specified allowed range.- Parameters:
cause
- The originating exception, null if this is the originating exceptionvalueName
- The value that has been entered incorrectly.invalidValue
- The invalid value that was enteredlowerBound
- The lower bound that the value can takeupperBound
- The upper bound that the value can take
-
-