Class DateTimeFormatException

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

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

Note that this class cannot be subclassed!

Version:
22/01/2004
Author:
Sven Maerivoet
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    DateTimeFormatException​(java.lang.String dateTimeString)
    Constructs a DateTimeFormatException object, based on the string representation of a malformed DateStamp or TimeStamp object.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDateTimeString()
    Returns the string representation of this exception's malformed DateStamp or TimeStamp object.

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DateTimeFormatException

      public DateTimeFormatException​(java.lang.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:
      DateStamp, TimeStamp
  • Method Details

    • getDateTimeString

      public java.lang.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