Package oshi.util

Class GlobalConfig.PropertyException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    GlobalConfig

    public static class GlobalConfig.PropertyException
    extends java.lang.RuntimeException
    Indicates that a configuration value is invalid.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyException​(java.lang.String property)  
      PropertyException​(java.lang.String property, java.lang.String message)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PropertyException

        public PropertyException​(java.lang.String property)
        Parameters:
        property - The property name
      • PropertyException

        public PropertyException​(java.lang.String property,
                                 java.lang.String message)
        Parameters:
        property - The property name
        message - An exception message