All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.jos.util.UnsupportedFeatureException

java.lang.Object
    |
    +----java.lang.Throwable
            |
            +----java.lang.Exception
                    |
                    +----org.jos.util.UnsupportedFeatureException

public class UnsupportedFeatureException
extends Exception
An exception that indicates that an operation was canceled because a specific feature is not supported.

This usually occurs if a class implements an interface, but doesn't provide all of the functionality the interface describes. The "unsupported" methods then throw an UnsupportedFeatureException (which has to be declared in the "throws" list, in the class as well as in the interface). An UnsupportedFeatureException can also be used to indicate that a subclass doesn't allow a method of the superclass to be executed anymore.

Version:
JOS-FileSystem 4 Preview (25-Mar-98)
Author:
Stefan Reich
See Also:
Medium

Constructor Index

 o UnsupportedFeatureException()
 o UnsupportedFeatureException(String)

Constructors

 o UnsupportedFeatureException
public UnsupportedFeatureException()
 o UnsupportedFeatureException
public UnsupportedFeatureException(String msg)

All Packages  Class Hierarchy  This Package  Previous  Next  Index