Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.novell.nds.dirxml.driver.jdbc.db
Class AbstractTimeValue

    java.lang.Object
      com.novell.nds.dirxml.driver.jdbc.db.AbstractTimeValue

Direct Known Subclasses:
  DBTimestamp, DSTime

public abstract class AbstractTimeValue
extends Object

A system-independent time value. This base class provides default implementations for the non-system-specific methods of interface `DBTimeTranslator`.

See Also:
  `DBTimeTranslator`

Method Summary
`String` | `getErrorMessage()` Returns the first parse error message, if any.
`List` | `getExceptions()` Returns any exceptions generated while parsing.
`boolean` | `parseError()` Indicates whether an error occurred parsing this timestamp/date/time value.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getExceptions

    public List getExceptions()

  Returns any exceptions generated while parsing. Returns a List of `Exception`s with length > 0 if exceptions were generated; `Collections.EMPTY_LIST` otherwise.

  Returns:
    `true` if there was a parse error; `false` otherwise; never returns `null`

### parseError

    public boolean parseError()

  Indicates whether an error occurred parsing this timestamp/date/time value.

  Returns:
    `true` if there was a parse error; `false` otherwise

### getErrorMessage

    public String getErrorMessage()

  Returns the first parse error message, if any.

  Returns:
    a string with length > 0 if there was a parse error; empty string otherwise; never returns `null`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD