Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

java.nio.file
Class ProviderMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by java.nio.file.ProviderMismatchException
All Implemented Interfaces:
Serializable

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.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
ProviderMismatchException()
          Constructs an instance of this class.
ProviderMismatchException(String msg)
          Constructs an instance of this class.
 
Method Summary
Modifier and Type Method and Description
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

ProviderMismatchException

public ProviderMismatchException()
Constructs an instance of this class.


ProviderMismatchException

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

Parameters:
msg - the detail message

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Submit a bug or feature

Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.