vrml.eai
Class InvalidBrowserException

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.InvalidBrowserException
All Implemented Interfaces:
java.io.Serializable

public class InvalidBrowserException
extends VrmlException

Exception that gets thrown when you call a method on a Browser object that is not valid. This exception can be thrown by almost every method of the Browser class. It happens when you try to call a method of an invalid Browser object. Browser objects become invalid after calling their dispose method.

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

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

See Also:
Serialized Form

Constructor Summary
InvalidBrowserException()
          Constructor.
InvalidBrowserException(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

InvalidBrowserException

public InvalidBrowserException()
Constructor.


InvalidBrowserException

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

Parameters:
msg - Message that describes the error.