com.ccg.net
Class NotSupported

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ccg.net.NotSupported
All Implemented Interfaces:
Serializable

public class NotSupported
extends Exception

Exception indicating that the desired operation is not supported. Some classes may implement interfaces but not really support all of the interface functions. For example, one may implement a Connection object which only supports the reading of data, and not the writing of data. This exception is thrown when this condition occurs. For example, if you attempt to open a input stream for the standard output device, it is not supported, so you'll end up getting this exception.

Since:
1.0
Version:
$Revision: 1.2 $
Author:
$Author: pkb $
See Also:
Connection, Serialized Form

Constructor Summary
NotSupported()
          Construct a NotSupported exception with null as its message.
NotSupported(String msg)
          Construct a NotSupported exception with a detailed message.
 
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

NotSupported

public NotSupported()
Construct a NotSupported exception with null as its message.

Since:
1.0
See Also:
Connection

NotSupported

public NotSupported(String msg)
Construct a NotSupported exception with a detailed message.

Parameters:
msg - Detailed message to associate with exception.
Since:
1.0
See Also:
Connection


Copyright 1998-1998-2006 null. All Rights Reserved.