vrml.eai
Class NotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by vrml.eai.VrmlException
                  extended by vrml.eai.NotSupportedException
All Implemented Interfaces:
java.io.Serializable

public class NotSupportedException
extends VrmlException

Exception that gets thrown when you try to call a method of the EAI that is not implemented. This exception gets usually thrown from the BrowserFactory object when you try to create a type of Browser object that is not supported by the EAI implementation.

The following example demonstrates how to catch a NotSupportedException and print an error message to the console:

 try
 {
     ...
 }
 catch (vrml.eai.NotSupportedException ex)
 {
     System.out.println(ex);
 }
 

See Also:
Serialized Form

Constructor Summary
NotSupportedException()
          Constructor.
NotSupportedException(java.lang.String msg)
          Constructor.
 
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

NotSupportedException

public NotSupportedException()
Constructor.


NotSupportedException

public NotSupportedException(java.lang.String msg)
Constructor.

Parameters:
msg - Message that describes the error.