codesimian
Class NatLangException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by codesimian.NatLangException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NatLangMathException

public class NatLangException
extends java.lang.RuntimeException

thrown when a Natural-Language algorithm fails in some way

See Also:
Serialized Form

Field Summary
 java.lang.String textNotUnderstand
           
 java.lang.String whyNotUnderstand
           
 
Constructor Summary
NatLangException()
           
NatLangException(java.lang.String textIDontUnderstand)
           
NatLangException(java.lang.String textIDontUnderstand, java.lang.String whyDontIUnderstandIt)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

textNotUnderstand

public final java.lang.String textNotUnderstand

whyNotUnderstand

public final java.lang.String whyNotUnderstand
Constructor Detail

NatLangException

public NatLangException()

NatLangException

public NatLangException(java.lang.String textIDontUnderstand)

NatLangException

public NatLangException(java.lang.String textIDontUnderstand,
                        java.lang.String whyDontIUnderstandIt)
Method Detail

getMessage

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