Improve error message

This commit is contained in:
Paulo Gustavo Veiga 2022-02-23 09:51:02 -08:00
parent 31980ca444
commit 50fa9d80f5

View File

@ -37,7 +37,7 @@ public class InvalidMindmapException
} }
static public InvalidMindmapException emptyMindmap() { static public InvalidMindmapException emptyMindmap() {
return new InvalidMindmapException(EMPTY_MINDMAP,""); return new InvalidMindmapException(EMPTY_MINDMAP,"<empty string>");
} }
static public InvalidMindmapException invalidFormat(@Nullable String xmlDoc) { static public InvalidMindmapException invalidFormat(@Nullable String xmlDoc) {
@ -45,7 +45,7 @@ public class InvalidMindmapException
} }
static public InvalidMindmapException tooBigMindnap() { static public InvalidMindmapException tooBigMindnap() {
return new InvalidMindmapException(TOO_BIG_MINDMAP,""); return new InvalidMindmapException(TOO_BIG_MINDMAP,"<too-big>");
} }
@NotNull @NotNull