|
|||||||||
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 java.lang.RuntimeException com.plumtree.openfoundation.util.XPException com.plumtree.server.marshalers.PTException
public class PTException
Title:
Description:
Copyright: Copyright (c) 2002
Company:
Constructor Summary | |
---|---|
PTException(java.lang.Exception e,
java.lang.String message,
int code)
Crate a PTException that wraps an underlying native Exception object, and contains a Plumtree specific error message and error code (from PT_RESULTCODES). |
|
PTException(java.lang.String message,
int code)
Create a PTException object containing the specified error message and error code (from PT_RESULTCODES). |
Method Summary | |
---|---|
int |
GetErrorCode()
Returns the error code associated with this error (from PT_RESULTCODES). |
java.lang.String |
GetMessage()
Override the generated message to return one with an error code (from PT_RESULTCODES). |
java.lang.Exception |
GetNestedException()
Deprecated. Should use XPException GetInnerException(). |
Methods inherited from class com.plumtree.openfoundation.util.XPException |
---|
exceptionToString, ExceptionToString, GetInnerException, GetInstance, GetInstance, getMessage, GetStackTrace, printStackTrace, PrintStackTrace, printStackTrace, ToString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PTException(java.lang.String message, int code)
message
- the error message associated with this errorcode
- the error code associated with this errorpublic PTException(java.lang.Exception e, java.lang.String message, int code)
e
- the native Exception to wrapmessage
- the error message associated with this errorcode
- the error code associated with this errorMethod Detail |
---|
public int GetErrorCode()
public java.lang.Exception GetNestedException()
public java.lang.String GetMessage()
GetMessage
in class com.plumtree.openfoundation.util.XPException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |