|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.uima.uimacpp.UimacppException
public class UimacppException
Use this class to signalize a fatal (internal) error to the API user.
Constructor Summary | |
---|---|
UimacppException(Exception ex)
Constructs a JTafRuntimeException with the specified nested exception. |
Method Summary | |
---|---|
Exception |
getEmbeddedException()
get the embedded exception, if any. |
String |
getMessage()
Returns a detail message. |
void |
printStackTrace()
Prints the composite message to System.err . |
void |
printStackTrace(PrintStream ps)
Prints the composite message and the embedded stack trace to the specified print stream, ps . |
void |
printStackTrace(PrintWriter pw)
Prints the composite message and the embedded stack trace to the specified print writer, pw |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UimacppException(Exception ex)
JTafRuntimeException
with the specified nested exception.
ex
- the nested exceptionMethod Detail |
---|
public String getMessage()
getMessage
in class Throwable
public void printStackTrace(PrintStream ps)
ps
.
printStackTrace
in class Throwable
ps
- the print streampublic void printStackTrace()
System.err
.
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter pw)
pw
printStackTrace
in class Throwable
pw
- the print writerpublic Exception getEmbeddedException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |