vrml.eai
Class VrmlException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by vrml.eai.VrmlException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConnectionException, InvalidBrowserException, InvalidFieldException, InvalidNodeException, InvalidURLException, InvalidVrmlException, NoSuchBrowserException, NotSupportedException, URLUnavailableException

public class VrmlException
extends java.lang.RuntimeException

Ancestor of all Exception thrown by the EAI. This exception gets never thrown directly. By specifying this Exception in a catch clause, you can handle all EAI Exceptions regardless of their type.

The following example demonstrates how to catch all EAI exceptions and print an error message to the console:

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

See Also:
Serialized Form

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

VrmlException

public VrmlException()
Constructor.


VrmlException

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

Parameters:
msg - Message that describes the error.