Class ConfigException

    • Constructor Detail

      • ConfigException

        protected ConfigException​(ConfigOrigin origin,
                                  java.lang.String message,
                                  java.lang.Throwable cause)
      • ConfigException

        protected ConfigException​(ConfigOrigin origin,
                                  java.lang.String message)
      • ConfigException

        protected ConfigException​(java.lang.String message,
                                  java.lang.Throwable cause)
      • ConfigException

        protected ConfigException​(java.lang.String message)
    • Method Detail

      • origin

        public ConfigOrigin origin()
        Returns an "origin" (such as a filename and line number) for the exception, or null if none is available. If there's no sensible origin for a given exception, or the kind of exception doesn't meaningfully relate to a particular origin file, this returns null. Never assume this will return non-null, it can always return null.
        Returns:
        origin of the problem, or null if unknown/inapplicable