Class DateTimeFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sm.smtools.exceptions.DateTimeFormatException
All Implemented Interfaces:
Serializable

public final class DateTimeFormatException extends Exception
Indicates a malformed Date or TimeStamp object.

Note that this class cannot be subclassed!

Version:
22/01/2004
Author:
Sven Maerivoet
See Also:
  • Constructor Details

    • DateTimeFormatException

      public DateTimeFormatException(String dateTimeString)
      Constructs a DateTimeFormatException object, based on the string representation of a malformed DateStamp or TimeStamp object.
      Parameters:
      dateTimeString - the string representation of a malformed DateStamp or TimeStamp object
      See Also:
  • Method Details

    • getDateTimeString

      public String getDateTimeString()
      Returns the string representation of this exception's malformed DateStamp or TimeStamp object.
      Returns:
      the string representation of the malformed DateStamp or TimeStamp object