Class GlobalConfig.PropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oshi.util.GlobalConfig.PropertyException
- All Implemented Interfaces:
Serializable
- Enclosing class:
GlobalConfig
Indicates that a configuration value is invalid.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyException(String property) Creates a PropertyException for an invalid property value.PropertyException(String property, String message) Creates a PropertyException with a custom message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyException
Creates a PropertyException for an invalid property value.- Parameters:
property- The property name
-
PropertyException
-