diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-04-14 16:43:27 -0400 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-04-14 16:43:27 -0400 |
| commit | 8cda0679cd5f1d72158249224689f57903ba4bd2 (patch) | |
| tree | 8507171a1e1879d3ce68ef6a3d2e23ab2adb49f4 /base/src/main/java/bjc/utils/ioutils/SimpleProperties.java | |
| parent | 9b2218844983aff4be972a1cf646b5c775acf753 (diff) | |
Cleanup some warnings and stuff
Diffstat (limited to 'base/src/main/java/bjc/utils/ioutils/SimpleProperties.java')
| -rw-r--r-- | base/src/main/java/bjc/utils/ioutils/SimpleProperties.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/base/src/main/java/bjc/utils/ioutils/SimpleProperties.java b/base/src/main/java/bjc/utils/ioutils/SimpleProperties.java index be8cda7..e035894 100644 --- a/base/src/main/java/bjc/utils/ioutils/SimpleProperties.java +++ b/base/src/main/java/bjc/utils/ioutils/SimpleProperties.java @@ -37,9 +37,18 @@ public class SimpleProperties implements Map<String, String> { } } + /** + * Exception thrown when a line is formattted incorrectly. + * @author Ben Culkin + * + */ public static class InvalidLineFormat extends RuntimeException { private static final long serialVersionUID = 5332131472090792841L; + /** + * Create a new exception for an incorrectly formatted line. + * @param lne The line that was incorrectly formatted. + */ public InvalidLineFormat(String lne) { super(String.format( "Line '%s' is improperly formatted.\n\tExpected format is a string key, followed by a single space, followed by the value", |
