Class

org.threeten.bp.format

DateTimeParseException

Related Doc: package format

Permalink

class DateTimeParseException extends DateTimeException

An exception thrown when an error occurs during parsing.

This exception includes the text being parsed and the error index.

Specification for implementors

This class is intended for use in a single thread.

Constructs a new exception with the specified message and cause.

Annotations
@SerialVersionUID()
Linear Supertypes
DateTimeException, RuntimeException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DateTimeParseException
  2. DateTimeException
  3. RuntimeException
  4. Exception
  5. Throwable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DateTimeParseException(message: String, parsedData: CharSequence, errorIndex: Int, cause: Throwable = null)

    Permalink

    message

    the message to use for this exception, may be null

    parsedData

    the parsed text, should not be null

    errorIndex

    the index in the parsed string that was invalid, should be a valid index

    cause

    the cause exception, may be null

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def addSuppressed(arg0: Throwable): Unit

    Permalink
    Definition Classes
    Throwable
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def fillInStackTrace(): Throwable

    Permalink
    Definition Classes
    Throwable
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getCause(): Throwable

    Permalink
    Definition Classes
    Throwable
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getErrorIndex: Int

    Permalink

    Returns the index where the error was found.

    Returns the index where the error was found.

    returns

    the index in the parsed string that was invalid, should be a valid index

  14. def getLocalizedMessage(): String

    Permalink
    Definition Classes
    Throwable
  15. def getMessage(): String

    Permalink
    Definition Classes
    Throwable
  16. def getParsedString: String

    Permalink

    Returns the string that was being parsed.

    Returns the string that was being parsed.

    returns

    the string that was being parsed, should not be null.

  17. def getStackTrace(): Array[StackTraceElement]

    Permalink
    Definition Classes
    Throwable
  18. final def getSuppressed(): Array[Throwable]

    Permalink
    Definition Classes
    Throwable
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def initCause(arg0: Throwable): Throwable

    Permalink
    Definition Classes
    Throwable
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def printStackTrace(arg0: PrintWriter): Unit

    Permalink
    Definition Classes
    Throwable
  26. def printStackTrace(arg0: PrintStream): Unit

    Permalink
    Definition Classes
    Throwable
  27. def printStackTrace(): Unit

    Permalink
    Definition Classes
    Throwable
  28. def setStackTrace(arg0: Array[StackTraceElement]): Unit

    Permalink
    Definition Classes
    Throwable
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    Throwable → AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DateTimeException

Inherited from RuntimeException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped