|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.primavera.PrimaveraException
public class PrimaveraException
Base class for all Primavera exceptions
Constructor Summary | |
---|---|
PrimaveraException(java.lang.String strMessage)
Class constructor specifying a detailed message. |
|
PrimaveraException(java.lang.String strMessage,
java.lang.Throwable thE)
Class constructor specifying a detailed message and the original thrown exception. |
Method Summary | |
---|---|
java.lang.Throwable |
getOriginalException()
Returns the original exception if this exception was thrown as a result of an original exception. |
java.lang.StackTraceElement[] |
getStackTrace()
Provides programmatic access to the stack trace information printed by printStackTrace(). |
boolean |
isSQLExceptionThrown()
Returns true if the original exception is SQLException |
void |
printStackTrace()
Print the message/stack trace for the root exception, as well as this exception. |
void |
printStackTrace(java.io.PrintStream s)
Print the message/stack trace for the root exception, as well as this exception. |
void |
printStackTrace(java.io.PrintWriter s)
Print the message/stack trace for the root exception, as well as this exception. |
void |
removeOriginalException()
Remove the original exception if it is not PrimaveraException. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PrimaveraException(java.lang.String strMessage, java.lang.Throwable thE)
strMessage
- the detailed message of this exceptionthE
- the originally thrown exceptionpublic PrimaveraException(java.lang.String strMessage)
strMessage
- the message of this exceptionMethod Detail |
---|
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- PrintWriter
to use for outputpublic java.lang.StackTraceElement[] getStackTrace()
getStackTrace
in class java.lang.Throwable
public boolean isSQLExceptionThrown()
public java.lang.Throwable getOriginalException()
public void removeOriginalException()
|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |