Class OwnLogCarryingMissingFileException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OwnLogCarryingMissingFileException
    extends ConfigParseException
    Nothing was found at an identifier, reported by a source that has already made its own complete account of the absence — which is what "own log carrying" means, and what separates this from an ordinary FileNotFoundException.

    Absence is normally reported for a source by whoever catches it, as a FINE "could not be found. Skipping." item. A source throws this instead when that generic item would be wrong or insufficient: because the absence deserves a louder level than FINE, or because it is not in fact being skipped. Catchers must therefore defer entirely to ConfigParseException.getDelayedLogItems() and add nothing of their own, or the same absence gets reported twice, in two different voices.

    Concretely, FileUrlPropertiesConfigSource throws this for all three states of its required option: absent-and-required is a veto rather than a skip, absent under permissions=useronly with required unstated warrants a WARNING rather than a FINE, and only an explicit required=false gets the ordinary skip item — which it supplies itself, via MConfig.skippingFileNotFoundDelayedItem(java.lang.String, java.lang.Exception).

    See Also:
    Serialized Form
    • 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

      • OwnLogCarryingMissingFileException

        public OwnLogCarryingMissingFileException​(java.lang.String msg,
                                                  java.lang.Throwable cause,
                                                  java.util.List<DelayedLogItem> delayedLogItems)