pRTI™ v1.3

hla.rti
Class RTIexception

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--hla.rti.RTIexception

public class RTIexception
extends java.lang.Exception

Superclass of all exceptions thrown by the RTI. All RTI exceptions must be caught or specified.

See Also:
Serialized Form

Constructor Summary
RTIexception(java.lang.String reason)
           
RTIexception(java.lang.String reason, int serial)
           
 
Method Summary
 int getSerial()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RTIexception

public RTIexception(java.lang.String reason)
Parameters:
reason - String to be carried with exception; equivalent of 'message' parameter in .java.lang.Exception

RTIexception

public RTIexception(java.lang.String reason,
                    int serial)
Parameters:
serial - serial number also printed with the exception: programmer can assign these to tell where the exception was thrown
Method Detail

getSerial

public int getSerial()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

pRTI™ v1.3

Visit the pRTI™ Website

pRTI is a trademark of Pitch Technologies AB

Repslagaregatan 25
S-582 22 Linkoping,
Sweden.
All Rights Reserved.