IT. Expert System.

Java Standard Edition (SE)

DateTimeParseException


compact1, compact2, compact3
java.time.format

Class DateTimeParseException

  • All Implemented Interfaces:
    Serializable


    public class DateTimeParseException
    extends DateTimeException
    An exception thrown when an error occurs during parsing.

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

    Implementation Requirements:
    This class is intended for use in a single thread.
    Since:
    1.8
    See Also:
    Serialized Form
    • Constructor Detail

      • DateTimeParseException

        public DateTimeParseException(String message,
                                      CharSequence parsedData,
                                      int errorIndex)
        Constructs a new exception with the specified message.
        Parameters:
        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
      • DateTimeParseException

        public DateTimeParseException(String message,
                                      CharSequence parsedData,
                                      int errorIndex,
                                      Throwable cause)
        Constructs a new exception with the specified message and cause.
        Parameters:
        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
    • Method Detail

      • getParsedString

        public String getParsedString()
        Returns the string that was being parsed.
        Returns:
        the string that was being parsed, should not be null.
      • getErrorIndex

        public int getErrorIndex()
        Returns the index where the error was found.
        Returns:
        the index in the parsed string that was invalid, should be a valid index


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 336 / 158869105. Delta: 0.08919 с