vrml.eai
Class NotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
vrml.eai.VrmlException
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
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 |
NotSupportedException
public NotSupportedException()
- Constructor.
NotSupportedException
public NotSupportedException(java.lang.String msg)
- Constructor.
- Parameters:
msg
- Message that describes the error.