java.lang.Objectjava.lang.Throwable
java.lang.Exception
rcs.nml.NMLException
public class NMLException
The base class for all exceptions thrown by NML.
| 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 |
|---|
public java.lang.String buffer_name
public java.lang.String config_file
public java.lang.Exception internal_exception
public NMLConnectionInterface nci
public java.lang.String buffer_line
| Constructor Detail |
|---|
public NMLException(java.lang.String _message,
NMLConnectionInterface _nci)
public NMLException(java.lang.String _message,
NMLConnectionInterface _nci,
java.lang.Exception _internal_exception)
| Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwable