Skip navigation links

Oracle Content Services Web Services Java API Reference
10g Release 1 (10.1.2.3)

B25584-03


oracle.ifs.fdk
Class FdkExceptionEntry

java.lang.Object
  extended byoracle.ifs.fdk.FdkExceptionEntry

All Implemented Interfaces:
java.io.Serializable

public class FdkExceptionEntry
extends java.lang.Object
implements java.io.Serializable

An entry when the exception is an aggregate exception.


Constructor Summary
FdkExceptionEntry()
          Constructor required to be a Java Bean.

 

Method Summary
 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.
 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.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

FdkExceptionEntry

public FdkExceptionEntry()
Constructor required to be a Java Bean. Do not use it, it will always throw RuntimeException.
Throws:
java.lang.RuntimeException - Always.

Method Detail

getErrorCode

public java.lang.String getErrorCode()
Returns the main error code.

setErrorCode

public void setErrorCode(java.lang.String errorCode)
Always throws a RuntimeException. Method needs to be here in order for the object to be a Java Bean.
Throws:
java.lang.RuntimeException - Always.

getDetailedErrorCode

public java.lang.String getDetailedErrorCode()
Returns the detailed error code that may provide more information about the error. If a detailed error code is not available, the same value as the main error code will be returned.

setDetailedErrorCode

public void setDetailedErrorCode(java.lang.String errorCode)
Always throws a RuntimeException. Method needs to be here in order for the object to be a Java Bean.
Throws:
java.lang.RuntimeException - Always.

getId

public long getId()
Returns the ID of the item for which the error occured.

setId

public void setId(long id)
Always throws a RuntimeException. Method needs to be here in order for the object to be a Java Bean.
Throws:
java.lang.RuntimeException - Always.

getInfo

public NamedValue[] getInfo()
Returns additional information about the error or null if no additional information is available.

setInfo

public void setInfo(NamedValue[] info)
Always throws a RuntimeException. Method needs to be here in order for the object to be a Java Bean.
Throws:
java.lang.RuntimeException - Always.

getServerStackTraceId

public java.lang.String getServerStackTraceId()
Returns the server stack trace ID for this entry. This method is useful when invoking the API remotely. For in-process calls the cause exception (if any) is always available by calling cause().

setServerStackTraceId

public void setServerStackTraceId(java.lang.String id)
Always throws a RuntimeException. Method needs to be here in order for the object to be a Java Bean.
Throws:
java.lang.RuntimeException - Always.

toString

public java.lang.String toString()
Returns a string representation of this entry without the stack trace of the cause exception. Logging the result of this method should be guarded by the log level as the string computation is significant.

Skip navigation links

Oracle Content Services Web Services Java API Reference
10g Release 1 (10.1.2.3)

B25584-03


Copyright © 2002, 2005, Oracle. All rights reserved.