Class DateFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
-
- com.redwood.scheduler.api.exception.DateFormatException
-
- All Implemented Interfaces:
ExceptionData
,Serializable
@Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl") public class DateFormatException extends SchedulerRuntimeException
The format of the date time zone is incorrect and could not be parsed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DateFormatException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
DateFormatException(Throwable cause, String dateTimeZoneAsString)
The format of the date time zone is incorrect and could not be parsed.
-
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
-
DateFormatException
protected DateFormatException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
-
DateFormatException
public DateFormatException(Throwable cause, String dateTimeZoneAsString)
The format of the date time zone is incorrect and could not be parsed.- Parameters:
cause
- The originating exception, null if this is the originating exceptiondateTimeZoneAsString
- A String representing a DateTimeZone
-
-