|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
pt.tumba.ngram.TCatNGException
public class TCatNGException
Wrapper for Exceptions used in the TCatNG package.
| Field Summary | |
|---|---|
(package private) java.lang.String |
msg
The Exception message |
| Constructor Summary | |
|---|---|
TCatNGException(java.lang.Exception e)
Constructor for NGramException |
|
TCatNGException(java.lang.String msg)
Constructor for NGramException |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns the String message associated with this Exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
java.lang.String msg
| Constructor Detail |
|---|
public TCatNGException(java.lang.String msg)
msg - A String with the Exception message.public TCatNGException(java.lang.Exception e)
e - The Exception we wish to wrap.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||