Class StorageSpaceException

All Implemented Interfaces:
Serializable

public class StorageSpaceException extends AeronException
A request to allocate a resource (e.g. log buffer) failed due to insufficient storage space available.
See Also:
  • Constructor Details

    • StorageSpaceException

      public StorageSpaceException(String message)
      Construct the exception for the with detailed message.
      Parameters:
      message - detail for the exception.
  • Method Details

    • isStorageSpaceError

      public static boolean isStorageSpaceError(Throwable error)
      Check if given exception denotes an out of disc space error, i.e. which on Linux is represented by error code ENOSPC(28) and on Windows by error code ERROR_DISK_FULL(112).
      Parameters:
      error - to check.
      Returns:
      true if cause is IOException with a specific error.