Class FormatDateTimeFunctionException

All Implemented Interfaces:
Serializable

public class FormatDateTimeFunctionException extends FunctionMetapathError
FOFD: Exceptions related to errors in formatting date/time values.
See Also:
  • Field Details

    • INVALID_PICTURE_STRING

      public static final int INVALID_PICTURE_STRING
      err:FOFD1340: Raised when the picture string supplied to a date/time formatting function does not conform to the required syntax.
      See Also:
    • COMPONENT_NOT_AVAILABLE

      public static final int COMPONENT_NOT_AVAILABLE
      err:FOFD1350: Raised when a component specifier within a picture string refers to a component that is not available in the value being formatted.
      See Also:
  • Constructor Details

    • FormatDateTimeFunctionException

      public FormatDateTimeFunctionException(int code, String message)
      Constructs a new exception with the provided code, message, and no cause.
      Parameters:
      code - the error code value
      message - the exception message
    • FormatDateTimeFunctionException

      public FormatDateTimeFunctionException(int code, String message, Throwable cause)
      Constructs a new exception with the provided code, message, and cause.
      Parameters:
      code - the error code value
      message - the exception message
      cause - the original exception cause
    • FormatDateTimeFunctionException

      public FormatDateTimeFunctionException(int code, Throwable cause)
      Constructs a new exception with the provided code, no message, and the cause.
      Parameters:
      code - the error code value
      cause - the original exception cause