|
|||||||||
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 com.plumtree.server.search.exceptions.PTSException
public class PTSException
Base class for all exceptions defined in package com.plumtree.server.search.exceptions
.
Constructor Summary | |
---|---|
PTSException(java.lang.Exception e,
java.lang.String message,
int code)
Create a PTSException that wraps an underlying native Exception object, and
contains a Plumtree specific error message and error code (from PT_RESULTCODES ). |
|
PTSException(java.lang.String message,
int code)
Create a PTSException containing the specified error message and
error code (from PT_RESULTCODES ). |
Method Summary |
---|
Methods inherited from class com.plumtree.server.marshalers.PTException |
---|
GetErrorCode, GetMessage, GetNestedException |
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 PTSException(java.lang.String message, int code)
PTSException
containing the specified error message and
error code (from PT_RESULTCODES
).
message
- the error message associated with this errorcode
- the error code associated with this errorpublic PTSException(java.lang.Exception e, java.lang.String message, int code)
PTSException
that wraps an underlying native Exception
object, and
contains a Plumtree specific error message and error code (from PT_RESULTCODES
).
e
- the native Exception
to wrapmessage
- the error message associated with this errorcode
- the error code associated with this error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |