marf.nlp
Class NLPException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--marf.util.MARFException
                    |
                    +--marf.nlp.NLPException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CompilerError

public class NLPException
extends MARFException

Class StorageException.

$Id: NLPException.java,v 1.3 2005/08/13 23:09:39 susan_fan Exp $

Since:
0.3.0.4
Version:
$Revision: 1.3 $
Author:
Serguei Mokhov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class marf.util.MARFException
strMessage
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
NLPException()
          Default NLP exception.
NLPException(java.lang.Exception poException)
          Exception wrapper constructor.
NLPException(java.lang.String pstrMessage)
          Generic exception.
NLPException(java.lang.String pstrMessage, java.lang.Exception poException)
          Accepts custom message and the exception object.
 
Method Summary
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 
Methods inherited from class marf.util.MARFException
getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NLPException

public NLPException()
Default NLP exception.


NLPException

public NLPException(java.lang.String pstrMessage)
Generic exception.

Parameters:
pstrMessage - Error message string

NLPException

public NLPException(java.lang.Exception poException)
Exception wrapper constructor.

Parameters:
poException - Exception object to wrap

NLPException

public NLPException(java.lang.String pstrMessage,
                    java.lang.Exception poException)
Accepts custom message and the exception object.

Parameters:
pstrMessage - custom error message
poException - exception happened
Method Detail

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string