|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ifs.fdk.FdkExceptionEntry
An entry when the exception is an aggregate exception.
Constructor Summary | |
FdkExceptionEntry() Constructor required to be a Java Bean. |
|
FdkExceptionEntry(oracle.ifs.ecm.util.AggregateExceptionEntry aee) Constructor. |
Method Summary | |
java.lang.Throwable |
cause() Returns the cause exception of this entry or null if the entry was not caused by another exception. |
static FdkExceptionEntry[] |
convert(oracle.ifs.common.IfsException ifse) Converts an IfsException into an FdkExceptionEntry[]. |
java.lang.String |
getDetailedErrorCode() Returns the detailed error code that may provide more information about the error. |
java.lang.String |
getErrorCode() Returns the main error code. |
long |
getId() Returns the ID of the item for which the error occured. |
NamedValue[] |
getInfo() Returns additional information about the error or null if no additional information is available. |
java.lang.String |
getServerStackTraceId() Returns the server stack trace ID for this entry. |
java.util.Map |
infoMap() Returns additional information about the error or null if no additional information is available. |
void |
setDetailedErrorCode(java.lang.String errorCode) Always throws a RuntimeException. |
void |
setErrorCode(java.lang.String errorCode) Always throws a RuntimeException. |
void |
setId(long id) Always throws a RuntimeException. |
void |
setInfo(NamedValue[] info) Always throws a RuntimeException. |
void |
setServerStackTraceId(java.lang.String id) Always throws a RuntimeException. |
java.lang.String |
toString() Returns a string representation of this entry without the stack trace of the cause exception. |
java.lang.String |
toStringWithStackTrace() Returns a string representation of this entry with the stack trace of the cause exception, if any. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FdkExceptionEntry()
java.lang.RuntimeException
- Always.public FdkExceptionEntry(oracle.ifs.ecm.util.AggregateExceptionEntry aee)
aee
- The AggregateExceptionEntry this entry corresponds to.Method Detail |
public java.lang.Throwable cause()
null
if the entry was not caused by another exception.public static FdkExceptionEntry[] convert(oracle.ifs.common.IfsException ifse)
ifse
- The IfsException to convert.public java.lang.String getDetailedErrorCode()
public java.lang.String getErrorCode()
public long getId()
public NamedValue[] getInfo()
null
if no additional information is available.public java.lang.String getServerStackTraceId()
cause()
.public java.util.Map infoMap()
null
if no additional information is available. The result is the same as calling getInfo()
except the return type is a Map
for convenience.public void setDetailedErrorCode(java.lang.String errorCode)
java.lang.RuntimeException
- Always.public void setErrorCode(java.lang.String errorCode)
java.lang.RuntimeException
- Always.public void setId(long id)
java.lang.RuntimeException
- Always.public void setInfo(NamedValue[] info)
java.lang.RuntimeException
- Always.public void setServerStackTraceId(java.lang.String id)
java.lang.RuntimeException
- Always.public java.lang.String toString()
public java.lang.String toStringWithStackTrace()
|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |