vrml.eai
Class InvalidURLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
vrml.eai.VrmlException
vrml.eai.InvalidURLException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidURLException
- extends VrmlException
Exception that gets thrown when you specify an invalid URL.
This exception gets thrown when you call either
Browser.loadURL(java.lang.String[], java.lang.String[])
or Browser.createVrmlFromURL(java.lang.String[], vrml.eai.Node, java.lang.String)
with an URL that is malformed.
The following example demonstrates how to catch an
InvalidURLException and print an error message to the console:
try
{
...
}
catch (vrml.eai.InvalidURLException 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 |
InvalidURLException
public InvalidURLException()
- Constructor.
InvalidURLException
public InvalidURLException(java.lang.String msg)
- Constructor.
- Parameters:
msg
- Message that describes the error.