FileSystemAlreadyExistsException

  • FileSystemAlreadyExistsException is a runtime exception signaling an attempt to create a file system where one already exists.

  • It inherits from RuntimeException and provides constructors to create instances with or without a detailed message.

  • It includes methods for retrieving the exception message, stack trace, and cause, and for printing the stack trace to various outputs.

  • Inherited methods from Throwable allow handling suppressed exceptions and providing programmatic access to stack trace information.

public class FileSystemAlreadyExistsException extends RuntimeException

Runtime exception thrown when an attempt is made to create a file system that already exists.

Public Constructor Summary

FileSystemAlreadyExistsException()
Constructs an instance of this class.
FileSystemAlreadyExistsException(String msg)
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public FileSystemAlreadyExistsException ()

Constructs an instance of this class.

public FileSystemAlreadyExistsException (String msg)

Constructs an instance of this class.

Parameters
msg the detail message