rcs.nml
Class NMLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by rcs.nml.NMLException
All Implemented Interfaces:
java.io.Serializable

public class NMLException
extends java.lang.Exception

The base class for all exceptions thrown by NML.

See Also:
Serialized Form

Field Summary
 java.lang.String buffer_line
           
 java.lang.String buffer_name
          The buffer name of the NMLConnection that was being used, when the exception was thrown.
 java.lang.String config_file
          The configuration file read by the NMLConnection that was being used, when the exception was thrown.
 java.lang.Exception internal_exception
          If an exception was thrown by some function called from within NML such as a socket call, the exception will be caught and wrapped in an NMLException and then thrown.
 NMLConnectionInterface nci
           
 
Constructor Summary
NMLException(java.lang.String _message, NMLConnectionInterface _nci)
           
NMLException(java.lang.String _message, NMLConnectionInterface _nci, java.lang.Exception _internal_exception)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Field Detail

buffer_name

public java.lang.String buffer_name
The buffer name of the NMLConnection that was being used, when the exception was thrown.


config_file

public java.lang.String config_file
The configuration file read by the NMLConnection that was being used, when the exception was thrown.


internal_exception

public java.lang.Exception internal_exception
If an exception was thrown by some function called from within NML such as a socket call, the exception will be caught and wrapped in an NMLException and then thrown.


nci

public NMLConnectionInterface nci

buffer_line

public java.lang.String buffer_line
Constructor Detail

NMLException

public NMLException(java.lang.String _message,
                    NMLConnectionInterface _nci)

NMLException

public NMLException(java.lang.String _message,
                    NMLConnectionInterface _nci,
                    java.lang.Exception _internal_exception)
Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable