Class ConfigWarning
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- net.morimekta.util.lexer.LexerException
-
- net.morimekta.providence.config.parser.ConfigException
-
- net.morimekta.providence.config.parser.ConfigWarning
-
- All Implemented Interfaces:
java.io.Serializable,net.morimekta.util.Displayable
public class ConfigWarning extends ConfigException
Providence config exceptions are extensions of the serializer exception (as parsing config can be seen as parsing or de-serializing any serialized message).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.morimekta.providence.config.parser.ConfigException
file
-
-
Constructor Summary
Constructors Constructor Description ConfigWarning(ConfigToken token, java.lang.String message, java.lang.Object... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetError()ConfigWarningsetFile(java.lang.String file)-
Methods inherited from class net.morimekta.providence.config.parser.ConfigException
getFile, initCause, toString
-
Methods inherited from class net.morimekta.util.lexer.LexerException
displayString, getLength, getLine, getLineNo, getLinePos, replaceNonPrintable
-
-
-
-
Constructor Detail
-
ConfigWarning
public ConfigWarning(ConfigToken token, java.lang.String message, java.lang.Object... args)
-
-
Method Detail
-
setFile
public ConfigWarning setFile(java.lang.String file)
- Overrides:
setFilein classConfigException
-
getError
protected java.lang.String getError()
- Overrides:
getErrorin classConfigException
-
-