ProviderMismatchException

  • ProviderMismatchException is an unchecked exception indicating an attempt to invoke a method using objects from different file system providers.

  • It's thrown when a method is called on an object created by one file system provider, but a parameter is from a different provider.

  • This exception inherits from IllegalArgumentException and provides two constructors: one with no arguments and one accepting a detail message.

public class ProviderMismatchException extends IllegalArgumentException

Unchecked exception thrown when an attempt is made to invoke a method on an object created by one file system provider with a parameter created by a different file system provider.

Public Constructor Summary

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

Inherited Method Summary

Public Constructors

public ProviderMismatchException ()

Constructs an instance of this class.

public ProviderMismatchException (String msg)

Constructs an instance of this class.

Parameters
msg the detail message