public class IncompleteOperationException extends BaseException
DONT_LOG, LOG
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getCausingThrowable, getMessage, getMessage, getRootThrowable, getText, isLogged, logException, printStackTrace
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public IncompleteOperationException(Throwable aCausingThrowable, String aTextKey, Object[] messageParameters, boolean log)
aCausingThrowable
- causing throwable for exception chaining, of null
if there is no causing exceptionaTextKey
- 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 parameterslog
- true, if exception should be loggedpublic 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 creationpublic IncompleteOperationException(Object partiallyComputedResult, List throwables)
partiallyComputedResult
- partially computed resultthrowables
- list of throwables for all failed partspublic IncompleteOperationException(Object partiallyComputedResult, List throwables, Throwable rootCause)
rootCause
- root causepartiallyComputedResult
- partially computed resultthrowables
- list of throwables for all failed partspublic IncompleteOperationException(Object partiallyComputedResult, List throwables, boolean logExceptionOnCreation)
partiallyComputedResult
- partially computed resultlogExceptionOnCreation
- when true log the exception now during
its constructionthrowables
- list of throwables for all failed partspublic IncompleteOperationException(Object partiallyComputedResult, List throwables, Throwable rootCause, boolean logExceptionOnCreation)
partiallyComputedResult
- partially computed resultlogExceptionOnCreation
- when true log the exception now during
its constructionthrowables
- list of throwables for all failed partsrootCause
- root causepublic IncompleteOperationException(Object partiallyComputedResult, List throwables, String message, Throwable rootCause)
partiallyComputedResult
- partially computed resultthrowables
- list of throwables for all failed partsmessage
- not localized messagerootCause
- root causepublic IncompleteOperationException(Object partiallyComputedResult, List throwables, String message, Object[] args, Throwable rootCause)
partiallyComputedResult
- partially computed resultthrowables
- list of throwables for all failed partsmessage
- not localized messageargs
- message arguments inserted by
MessageFormat meansrootCause
- root causepublic IncompleteOperationException(Object partiallyComputedResult, List throwables, String message, Throwable rootCause, boolean logExceptionOnCreation)
partiallyComputedResult
- partially computed resultlogExceptionOnCreation
- when true log the exception now during
its constructionthrowables
- list of throwables for all failed partsmessage
- not localized messagerootCause
- root causepublic IncompleteOperationException(Object partiallyComputedResult, List throwables, String message, Object[] args, Throwable rootCause, boolean logExceptionOnCreation)
partiallyComputedResult
- partially computed resultlogExceptionOnCreation
- when true log the exception now during
its constructionthrowables
- list of throwables for all failed partsmessage
- not localized messageargs
- message arguments inserted by
MessageFormat meansrootCause
- root causepublic IncompleteOperationException(Object partiallyComputedResult, List throwables, String message)
partiallyComputedResult
- partially computed resultthrowables
- list of throwables for all failed partsmessage
- not localized messagepublic 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 meanspublic 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 constructionpublic Object getPartiallyComputedResult()
public List getThrowables()
public List getMessages()
public void printStackTrace(PrintStream stream)
printStackTrace
in interface IBaseException
printStackTrace
in class BaseException
stream
- PrintStream for outputpublic void printStackTrace(PrintWriter writer)
printStackTrace
in interface IBaseException
printStackTrace
in class BaseException
writer
- PrintWriter for outputAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/util
|
api
|
EP-KM-COL
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice