org.tmapi.core
Class FeatureNotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.tmapi.core.TMAPIException
              extended by org.tmapi.core.FactoryConfigurationException
                  extended by org.tmapi.core.FeatureNotSupportedException
All Implemented Interfaces:
java.io.Serializable

public class FeatureNotSupportedException
extends FactoryConfigurationException

Exception thrown when the underlying implementation cannot support enabling or disabling a recognised feature. If the feature name is not recognised, implementations MUST throw a FeatureNotRecognizedException rather than a FeatureNotSupportedException.

Version:
$Rev: 62 $ - $Date: 2008-08-08 14:00:50 +0200 (Fr, 08 Aug 2008) $
Author:
The TMAPI Project
See Also:
Serialized Form

Constructor Summary
FeatureNotSupportedException(java.lang.String message)
          Constructs a new throwable with the specified detail message.
FeatureNotSupportedException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new throwable with the specified detail message.
FeatureNotSupportedException(java.lang.Throwable cause)
          Constructs a new exception that wraps another exception.
 
Method Summary
 
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

FeatureNotSupportedException

public FeatureNotSupportedException(java.lang.String message)
Constructs a new throwable with the specified detail message.

Parameters:
message - The detail message. This message is saved for later retrieval by the Throwable.getMessage() method.

FeatureNotSupportedException

public FeatureNotSupportedException(java.lang.Throwable cause)
Constructs a new exception that wraps another exception.

Parameters:
cause - The throwable which caused this exception to be thrown. This value is saved for later retrieval by the Throwable.getCause() method.

FeatureNotSupportedException

public FeatureNotSupportedException(java.lang.String message,
                                    java.lang.Throwable cause)
Constructs a new throwable with the specified detail message.

Parameters:
message - The detail message. This message is saved for later retrieval by the Throwable.getMessage() method.
cause - The throwable which caused this exception to be thrown. This value is saved for later retrieval by the Throwable.getCause() method.