public class PcdNamingException extends NamingException implements IExceptionSequence
remainingName, resolvedName, resolvedObj, rootException| Constructor and Description |
|---|
PcdNamingException()
Exception wrapper constructor.
|
PcdNamingException(String s)
Constructor with a String message.
|
PcdNamingException(String s,
String nameInNamespace)
Constructor with a String message.
|
PcdNamingException(String s,
String nameInNamespace,
Throwable exception)
Exception wrapper constructor.
|
PcdNamingException(String s,
Throwable exception)
Exception wrapper constructor.
|
PcdNamingException(Throwable exception)
Exception wrapper constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addException(IExceptionSequence exception)
Adds another exeption to the seqeunce.
|
Throwable |
getCause()
Returns the cause of this exception.
|
Throwable |
getException()
Gets the original exception which can be null.
|
String |
getMessage() |
IExceptionSequence |
getNextException()
Returns the next exception of the sequence
|
Iterator |
getNextExceptions()
Returns the next exceptions as iterator.
|
String |
getObjectName()
Returns the name of the object for which the operation failed.
|
boolean |
hasNextException()
Returns if there are more exception in the sequence.
|
boolean |
operationPartiallyCompleted()
Returns if the operation was partially completed, e. g. if some objects could be deleted
in a recursive delete operation.
|
void |
setException(Throwable t)
Sets the original exception
|
void |
setPartialCompletion(boolean partialCompletion)
Set partial completion flag
|
appendRemainingComponent, appendRemainingName, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PcdNamingException()
public PcdNamingException(String s, Throwable exception)
s - a short String describing the exceptionexception - a Throwable object referring to the original exceptionpublic PcdNamingException(String s, String nameInNamespace, Throwable exception)
s - a short String describing the exceptionnameInNamespace - PCD nameexception - a Throwable object referring to the original exceptionpublic PcdNamingException(String s)
s - a short description of the exception.public PcdNamingException(String s, String nameInNamespace)
s - a short description of the exception.nameInNamespace - PCD namepublic PcdNamingException(Throwable exception)
exception - a Throwable object referring to the original exception.public Throwable getException()
public final void setException(Throwable t)
t - the original exceptionpublic String getMessage()
getMessage in class Throwablepublic Throwable getCause()
getCause in class NamingExceptionpublic String getObjectName()
IExceptionSequencegetObjectName in interface IExceptionSequenceIExceptionSequence.getObjectName()public void addException(IExceptionSequence exception)
IExceptionSequenceaddException in interface IExceptionSequenceexception - ExceptionIExceptionSequence.addException(com.sapportals.portal.pcd.gl.IExceptionSequence)public boolean hasNextException()
IExceptionSequencehasNextException in interface IExceptionSequenceIExceptionSequence.hasNextException()public IExceptionSequence getNextException()
IExceptionSequencegetNextException in interface IExceptionSequenceIExceptionSequence.getNextException()public Iterator getNextExceptions()
IExceptionSequencegetNextExceptions in interface IExceptionSequenceIExceptionSequence.getNextExceptions()public void setPartialCompletion(boolean partialCompletion)
IExceptionSequencesetPartialCompletion in interface IExceptionSequencepartialCompletion - True if some operations succeededIExceptionSequence.setPartialCompletion(boolean)public boolean operationPartiallyCompleted()
IExceptionSequenceoperationPartiallyCompleted in interface IExceptionSequenceIExceptionSequence.operationPartiallyCompleted()| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
BC-PIN-PCD
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
-
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice