IT. Expert System.

Android Reference

URISyntaxException


java.net

Class URISyntaxException

  • All Implemented Interfaces:
    Serializable


    public class URISyntaxException
    extends Exception
    A URISyntaxException will be thrown if some information could not be parsed while creating a URI.
    See Also:
    Serialized Form
    • Constructor Detail

      • URISyntaxException

        public URISyntaxException(String input,
                          String reason,
                          int index)
        Constructs a new URISyntaxException instance containing the string that caused the exception, a description of the problem and the index at which the error occurred.
        Parameters:
        input - the string that caused the exception.
        reason - the reason why the exception occurred.
        index - the position where the exception occurred.
        Throws:
        NullPointerException - if one of the arguments input or reason is null.
        IllegalArgumentException - if the value for index is lesser than -1.
      • URISyntaxException

        public URISyntaxException(String input,
                          String reason)
        Constructs a new URISyntaxException instance containing the string that caused the exception and a description of the problem.
        Parameters:
        input - the string that caused the exception.
        reason - the reason why the exception occurred.
        Throws:
        NullPointerException - if one of the arguments input or reason is null.
    • Method Detail

      • getIndex

        public int getIndex()
        Gets the index at which the syntax error was found or -1 if the index is unknown/unavailable.
        Returns:
        the index of the syntax error.
      • getReason

        public String getReason()
        Gets a description of the syntax error.
        Returns:
        the string describing the syntax error.
      • getInput

        public String getInput()
        Gets the initial string that contains an invalid syntax.
        Returns:
        the string that caused the exception.
      • getMessage

        public String getMessage()
        Gets a description of the exception, including the reason, the string that caused the syntax error and the position of the syntax error if available.
        Overrides:
        getMessage in class Throwable
        Returns:
        a sting containing information about the exception.
        See Also:
        Throwable.getMessage()


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: 1126 / 248551497. Delta: 0.03211 с