summaryrefslogtreecommitdiffstats
path: root/luni/src/main/java/java/net/URISyntaxException.java
diff options
context:
space:
mode:
Diffstat (limited to 'luni/src/main/java/java/net/URISyntaxException.java')
-rw-r--r--luni/src/main/java/java/net/URISyntaxException.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/luni/src/main/java/java/net/URISyntaxException.java b/luni/src/main/java/java/net/URISyntaxException.java
index 136a926..964f507 100644
--- a/luni/src/main/java/java/net/URISyntaxException.java
+++ b/luni/src/main/java/java/net/URISyntaxException.java
@@ -35,7 +35,7 @@ public class URISyntaxException extends Exception {
* Constructs a new {@code URISyntaxException} instance containing the
* string that caused the exception, a description of the problem and the
* index at which the error occurred.
- *
+ *
* @param input
* the string that caused the exception.
* @param reason
@@ -66,7 +66,7 @@ public class URISyntaxException extends Exception {
/**
* Constructs a new {@code URISyntaxException} instance containing the
* string that caused the exception and a description of the problem.
- *
+ *
*@param input
* the string that caused the exception.
* @param reason
@@ -89,7 +89,7 @@ public class URISyntaxException extends Exception {
/**
* Gets the index at which the syntax error was found or {@code -1} if the
* index is unknown/unavailable.
- *
+ *
* @return the index of the syntax error.
*/
public int getIndex() {
@@ -98,7 +98,7 @@ public class URISyntaxException extends Exception {
/**
* Gets a description of the syntax error.
- *
+ *
* @return the string describing the syntax error.
*/
public String getReason() {
@@ -107,7 +107,7 @@ public class URISyntaxException extends Exception {
/**
* Gets the initial string that contains an invalid syntax.
- *
+ *
* @return the string that caused the exception.
*/
public String getInput() {
@@ -118,7 +118,7 @@ public class URISyntaxException extends Exception {
* 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.
- *
+ *
* @return a sting containing information about the exception.
* @see java.lang.Throwable#getMessage()
*/
@@ -127,10 +127,10 @@ public class URISyntaxException extends Exception {
String reason = super.getMessage();
if (index != -1) {
- return Msg.getString("K0326",
+ return Msg.getString("K0326",
new String[] { reason, Integer.toString(index), input });
}
- return Msg.getString("K0327",
+ return Msg.getString("K0327",
new String[] { reason, input });
}
}