aboutsummaryrefslogtreecommitdiff
path: root/src/org/json/simple/parser/ParseException.java
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-18 17:53:00 +0200
committerPacien TRAN-GIRARD2014-05-18 17:53:00 +0200
commitdb373254f918ef75062698757e6cd6e13e26289f (patch)
treee1975b38b06c88f469f3f3e2e0d9cf515778f9f1 /src/org/json/simple/parser/ParseException.java
parent0d4651e54f40f4dad929c419e92e37a15926f7be (diff)
downloadesieequest-db373254f918ef75062698757e6cd6e13e26289f.tar.gz
Format code (100 chars line)
Diffstat (limited to 'src/org/json/simple/parser/ParseException.java')
-rw-r--r--src/org/json/simple/parser/ParseException.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/org/json/simple/parser/ParseException.java b/src/org/json/simple/parser/ParseException.java
index df1b1d1..6bd8d8c 100644
--- a/src/org/json/simple/parser/ParseException.java
+++ b/src/org/json/simple/parser/ParseException.java
@@ -75,13 +75,16 @@ public class ParseException extends Exception {
75 75
76 switch (this.errorType) { 76 switch (this.errorType) {
77 case ERROR_UNEXPECTED_CHAR: 77 case ERROR_UNEXPECTED_CHAR:
78 sb.append("Unexpected character (").append(this.unexpectedObject).append(") at position ").append(this.position).append("."); 78 sb.append("Unexpected character (").append(this.unexpectedObject).append(
79 ") at position ").append(this.position).append(".");
79 break; 80 break;
80 case ERROR_UNEXPECTED_TOKEN: 81 case ERROR_UNEXPECTED_TOKEN:
81 sb.append("Unexpected token ").append(this.unexpectedObject).append(" at position ").append(this.position).append("."); 82 sb.append("Unexpected token ").append(this.unexpectedObject).append(" at position ")
83 .append(this.position).append(".");
82 break; 84 break;
83 case ERROR_UNEXPECTED_EXCEPTION: 85 case ERROR_UNEXPECTED_EXCEPTION:
84 sb.append("Unexpected exception at position ").append(this.position).append(": ").append(this.unexpectedObject); 86 sb.append("Unexpected exception at position ").append(this.position).append(": ")
87 .append(this.unexpectedObject);
85 break; 88 break;
86 default: 89 default:
87 sb.append("Unkown error at position ").append(this.position).append("."); 90 sb.append("Unkown error at position ").append(this.position).append(".");