|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException vrml.eai.VrmlException
public class VrmlException
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); }
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 |
---|
public VrmlException()
public VrmlException(java.lang.String msg)
msg
- Message that describes the error.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |