vrml.eai
Class NoSuchBrowserException

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

public class NoSuchBrowserException
extends VrmlException

Exception that gets thrown when you try to get a reference to a browser that does not exist. This exception gets thrown by the methods of the BrowserFactory class when they are not able to find the browser you specified when calling the methods.

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

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

See Also:
Serialized Form

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

NoSuchBrowserException

public NoSuchBrowserException()
Constructor.


NoSuchBrowserException

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

Parameters:
msg - Message that describes the error.