Class TimeWindowElementConstraintOutOfBoundsException
- 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.TimeWindowElementConstraintOutOfBoundsException
-
- All Implemented Interfaces:
ExceptionData
,Serializable
@Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl") public class TimeWindowElementConstraintOutOfBoundsException extends SchedulerAPIRuntimeException
Attribute on a time window element is out of bounds.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TimeWindowElementConstraintOutOfBoundsException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
TimeWindowElementConstraintOutOfBoundsException(Throwable cause, String constraint, long receivedLow, long receivedHi, long expectedLow, long expectedHi)
Attribute on a time window element is out of bounds.
-
Method Summary
-
Methods inherited from class com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
bestException, getDefaultMessageFormat, getErrorCode, getExceptionData, getLocalizedMessage, getLocalizedMessage, getMessage, getTranslation, isSystemLoggable, skipException, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
TimeWindowElementConstraintOutOfBoundsException
protected TimeWindowElementConstraintOutOfBoundsException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
-
TimeWindowElementConstraintOutOfBoundsException
public TimeWindowElementConstraintOutOfBoundsException(Throwable cause, String constraint, long receivedLow, long receivedHi, long expectedLow, long expectedHi)
Attribute on a time window element is out of bounds.- Parameters:
cause
- The originating exception, null if this is the originating exceptionconstraint
- The constraint.receivedLow
- The lower bound that the value can takereceivedHi
- The upper bound that the value can takeexpectedLow
- The lower bound that the value can takeexpectedHi
- The upper bound that the value can take
-
-