vrml.eai.field
Class InvalidEventOutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by vrml.eai.VrmlException
                  extended by vrml.eai.field.InvalidFieldException
                      extended by vrml.eai.field.InvalidEventOutException
All Implemented Interfaces:
java.io.Serializable

public class InvalidEventOutException
extends InvalidFieldException

Exception that gets thrown when you try to get an unknown event-out slot from a node. This exception gets thrown by Node.getEventOut(java.lang.String) when you specify an event-out slot name that does not exist in the node.

The following example demonstrates how to catch an InvalidEventOutException and print an error message to the console:

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

See Also:
Serialized Form

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

InvalidEventOutException

public InvalidEventOutException()
Constructor.


InvalidEventOutException

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

Parameters:
msg - Message that describes the error.