Java java.nio.file InvalidPathException fields, constructors, methods, implement or subclass

Example usage for Java java.nio.file InvalidPathException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.nio.file InvalidPathException.

The text is from its open source code.

Constructor

InvalidPathException(String input, String reason)
Constructs an instance from the given input string and reason.

Method

intgetIndex()
Returns an index into the input string of the position at which the error occurred, or -1 if this position is not known.
StringgetInput()
Returns the input string.
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Returns a string describing the error.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.