|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.ip.collaboration.core.api.util.exception.BaseException
com.sap.ip.collaboration.core.api.util.exception.IncompleteOperationException
public class IncompleteOperationException
Class implementing an exception used in all non-atomic operations when parts of an operation failed. This exception class helps to return the partially computed results and a list of throwables for all failed parts.
| Field Summary |
|---|
| Fields inherited from class com.sap.ip.collaboration.core.api.util.exception.BaseException |
|---|
DONT_LOG, LOG |
| Constructor Summary | |
|---|---|
IncompleteOperationException(Object partiallyComputedResult,
List throwables)
Deprecated. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
boolean logExceptionOnCreation)
Deprecated. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message)
Construct object of class IncompleteOperationException. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
boolean logExceptionOnCreation)
Construct object of class IncompleteOperationException. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Object[] args)
Construct object of class IncompleteOperationException. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String aTextKey,
Object[] messageParameters,
boolean log)
Constructs a new MultipleBaseException with a list of throwables, a partially computed result and an independent message bundle |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Object[] args,
Throwable rootCause)
Deprecated. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Object[] args,
Throwable rootCause,
boolean logExceptionOnCreation)
Deprecated. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Throwable rootCause)
Deprecated. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Throwable rootCause,
boolean logExceptionOnCreation)
Deprecated. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
Throwable rootCause)
Deprecated. |
|
IncompleteOperationException(Object partiallyComputedResult,
List throwables,
Throwable rootCause,
boolean logExceptionOnCreation)
Deprecated. |
|
IncompleteOperationException(Throwable aCausingThrowable,
String aTextKey,
Object[] messageParameters,
boolean log)
constructs a new MultipleBaseException with a causing throwable for exception chaining. |
|
| Method Summary | |
|---|---|
List |
getMessages()
|
Object |
getPartiallyComputedResult()
Get partially computed result. |
List |
getThrowables()
Get list of throwables for all failed parts. |
void |
printStackTrace(PrintStream stream)
overwrites the original printStackTrace method to also print chained stack traces. |
void |
printStackTrace(PrintWriter writer)
overwrites the original printStackTrace method to also print chained stack traces. |
| Methods inherited from class com.sap.ip.collaboration.core.api.util.exception.BaseException |
|---|
getCausingThrowable, getMessage, getMessage, getRootThrowable, getText, isLogged, logException, printStackTrace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IncompleteOperationException(Throwable aCausingThrowable,
String aTextKey,
Object[] messageParameters,
boolean log)
aCausingThrowable - causing throwable for exception chaining, of null
if there is no causing exceptionlog - true, if exception should be logged
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String aTextKey,
Object[] messageParameters,
boolean log)
partiallyComputedResult - partially computed resultthrowables - list of throwables for all failed partsaTextKey - key for an internationalized message, or null if no new
message should be setmessageParameters - objects to fill message place holders,
or null if there are no parameters
to use the default mechanism to read text messageslog - true, if exception should be logged during its creation
public IncompleteOperationException(Object partiallyComputedResult,
List throwables)
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
Throwable rootCause)
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
boolean logExceptionOnCreation)
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
Throwable rootCause,
boolean logExceptionOnCreation)
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Throwable rootCause)
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Object[] args,
Throwable rootCause)
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Throwable rootCause,
boolean logExceptionOnCreation)
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Object[] args,
Throwable rootCause,
boolean logExceptionOnCreation)
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message)
partiallyComputedResult - partially computed resultthrowables - list of throwables for all failed partsmessage - not localized message
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
Object[] args)
partiallyComputedResult - partially computed resultthrowables - list of throwables for all failed partsmessage - not localized messageargs - message arguments inserted by
MessageFormat means
public IncompleteOperationException(Object partiallyComputedResult,
List throwables,
String message,
boolean logExceptionOnCreation)
partiallyComputedResult - partially computed resultthrowables - list of throwables for all failed partsmessage - not localized messagelogExceptionOnCreation - when true log the exception now during
its construction| Method Detail |
|---|
public Object getPartiallyComputedResult()
public List getThrowables()
public List getMessages()
public void printStackTrace(PrintStream stream)
printStackTrace in interface IBaseExceptionprintStackTrace in class BaseExceptionstream - PrintStream for outputpublic void printStackTrace(PrintWriter writer)
printStackTrace in interface IBaseExceptionprintStackTrace in class BaseExceptionwriter - PrintWriter for output| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/util
|
api
|
EP-KM-COL
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||