vrml.eai.field
Class InvalidEventInException

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.InvalidEventInException
All Implemented Interfaces:
java.io.Serializable

public class InvalidEventInException
extends InvalidFieldException

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

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

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

See Also:
Serialized Form

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

InvalidEventInException

public InvalidEventInException()
Constructor.


InvalidEventInException

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

Parameters:
msg - Message that describes the error.