|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | 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
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 |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, 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 error
public 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 error| Method 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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||