Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
java.net

Class URISyntaxException

  • All Implemented Interfaces:
    Serializable

    public class URISyntaxException
    extends Exception
    Checked exception thrown to indicate that a string could not be parsed as a URI reference.
    Since:
    1.4
    See Also:
    URI, Serialized Form
    • Constructor Detail

      • URISyntaxException

        public URISyntaxException(String input,
                          String reason,
                          int index)
        Constructs an instance from the given input string, reason, and error index.
        Parameters:
        input - The input string
        reason - A string explaining why the input could not be parsed
        index - The index at which the parse error occurred, or -1 if the index is not known
        Throws:
        NullPointerException - If either the input or reason strings are null
        IllegalArgumentException - If the error index is less than -1
      • URISyntaxException

        public URISyntaxException(String input,
                          String reason)
        Constructs an instance from the given input string and reason. The resulting object will have an error index of -1.
        Parameters:
        input - The input string
        reason - A string explaining why the input could not be parsed
        Throws:
        NullPointerException - If either the input or reason strings are null
    • Method Detail

      • getInput

        public String getInput()
        Returns the input string.
        Returns:
        The input string
      • getReason

        public String getReason()
        Returns a string explaining why the input string could not be parsed.
        Returns:
        The reason string
      • getIndex

        public int getIndex()
        Returns an index into the input string of the position at which the parse error occurred, or -1 if this position is not known.
        Returns:
        The error index
      • getMessage

        public String getMessage()
        Returns a string describing the parse error. The resulting string consists of the reason string followed by a colon character (':'), a space, and the input string. If the error index is defined then the string " at index " followed by the index, in decimal, is inserted after the reason string and before the colon character.
        Overrides:
        getMessage in class Throwable
        Returns:
        A string describing the parse error

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-java/net/URISyntaxException.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut