Fine-tuned assertions and related polishing

This commit is contained in:
Juergen Hoeller
2018-05-05 14:39:43 +02:00
parent e17fc8d607
commit c9f488363d
13 changed files with 86 additions and 125 deletions

View File

@@ -265,7 +265,7 @@ class Tokenizer {
raiseParseException(this.pos, SpelMessage.UNEXPECTED_ESCAPE_CHAR);
break;
default:
throw new IllegalStateException("Cannot handle ('" + ch + "')");
throw new IllegalStateException("Cannot handle (" + (int) ch + ") '" + ch + "'");
}
}
}