marf.nlp
Class NLPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by marf.util.MARFException
              extended by marf.nlp.NLPException
All Implemented Interfaces:
java.io.Serializable, IMARFException
Direct Known Subclasses:
CompilerError

public class NLPException
extends MARFException

NLPException is a root of exception hierarchy in the NLP exception processing.

$Id: NLPException.java,v 1.5 2006/03/02 01:19:19 mokhov Exp $

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

Field Summary
 
Fields inherited from class marf.util.MARFException
strMessage
 
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
create, create, create, create, 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


SourceForge Logo