vrml.eai
Class ConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
vrml.eai.VrmlException
vrml.eai.ConnectionException
- All Implemented Interfaces:
- java.io.Serializable
public class ConnectionException
- extends VrmlException
Exception that gets thrown when the network connection
to a running X3D browser instance fails.
This exception can be thrown by almost every EAI function
call. It usually is irreparable, i.e. you have to completely
reinitialize the connection to the X3D browser.
The following example demonstrates how to catch a
ConnectionException and print an error message to the
console:
try
{
...
}
catch (vrml.eai.ConnectionException ex)
{
System.out.println(ex);
}
- See Also:
- Serialized Form
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 |
ConnectionException
public ConnectionException()
- Constructor.
ConnectionException
public ConnectionException(java.lang.String msg)
- Constructor.
- Parameters:
msg
- Message that describes the error.