public class PermissionControlException extends NoPermissionException implements IExceptionSequence
remainingName, resolvedName, resolvedObj, rootException| Constructor and Description |
|---|
PermissionControlException(String s)
Constructs an
PermissionControlException with the specified detail message. |
PermissionControlException(String s,
String objectName)
Constructs a
PermissionControlException with the specified detail message. |
PermissionControlException(Throwable ex)
Constructs a
PermissionControlException with the specified detail message. |
| Modifier and Type | Method and Description |
|---|---|
void |
addException(IExceptionSequence exception)
Adds another exeption to the seqeunce.
|
void |
addObjectName(String objectName)
Deprecated.
Use interface IExceptionSequence instead
|
Throwable |
getCause()
Returns the cause of this exception.
|
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.
|
String[] |
getObjectNames()
Deprecated.
Use interface IExceptionSequence instead
|
boolean |
hasNextException()
Returns if there are more exception in the sequence.
|
boolean |
operationPartiallyCompleted()
Returns if the operation that throwed the exception could be partially completed.
|
void |
setPartialCompletion(boolean partiallyCompleted)
To be set if the operation that throwed the exception could be partially completed.
|
appendRemainingComponent, appendRemainingName, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PermissionControlException(String s)
PermissionControlException with the specified detail message.s - the detail message.public PermissionControlException(String s, String objectName)
PermissionControlException with the specified detail message.s - the detail message.objectName - name of the object that could not be accessedpublic PermissionControlException(Throwable ex)
PermissionControlException with the specified detail message.ex - a Throwable object referring to the original exceptionpublic String getMessage()
getMessage in class ThrowableThrowable.getMessage()public Throwable getCause()
getCause in class NamingExceptionpublic String[] getObjectNames()
public void addObjectName(String objectName)
objectName - new object namepublic boolean operationPartiallyCompleted()
operationPartiallyCompleted in interface IExceptionSequencepublic void setPartialCompletion(boolean partiallyCompleted)
setPartialCompletion in interface IExceptionSequencepartiallyCompleted - PartialCompletion valuepublic 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()| 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 2021 SAP SE Complete Copyright Notice