Package com.apple.foundationdb.util
package com.apple.foundationdb.util
Utilities for logging and exception handling.
All exceptions in the Record Layer
project are descendants of
LoggableException class. This
class allows the user to attach arbitrary keys and values to an Exception when
thrown.-
ClassDescriptionException thrown when the
CallbackUtils.invokeAll(List)method catches an exception.A utility to invoke a collection of callbacks with an effort to ensure all are called when facing errors.Utility methods to help interact withAutoCloseableclasses.Exception thrown when theCloseableUtils.closeAll(java.lang.AutoCloseable...)method catches an exception.Exception type with support for adding keys and values to its log info.LoggableKeysAndValues<T extends LoggableKeysAndValues<T>>Associates loggable information with an object as a map.Provides a default implementation ofLoggableKeysAndValues.CommonLoggableExceptionkeys logged by the FoundationDB extensions library.Utility methods for operating withStrings.