|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.NamingSecurityException
javax.naming.NoPermissionException
com.sapportals.portal.pcd.gl.PermissionControlException
public class PermissionControlException
The PermissionControlException is thrown if the user that is stored as Context.SECURITY_PRINCIPAL in the context environment does not have sufficient permissions to access the requested content in the PCD.
| Field Summary |
|---|
| Fields inherited from class javax.naming.NamingException |
|---|
remainingName, resolvedName, resolvedObj, rootException |
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class javax.naming.NamingException |
|---|
appendRemainingComponent, appendRemainingName, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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)
| Method Detail |
|---|
public String getMessage()
getMessage in class ThrowableThrowable.getMessage()public Throwable getCause()
getCause in class NamingExceptionpublic String[] getObjectNames()
public void addObjectName(String objectName)
objectName - public boolean operationPartiallyCompleted()
operationPartiallyCompleted in interface IExceptionSequencepublic void setPartialCompletion(boolean partiallyCompleted)
setPartialCompletion in interface IExceptionSequencepartiallyCompleted - public String getObjectName()
IExceptionSequence
getObjectName in interface IExceptionSequenceIExceptionSequence.getObjectName()public void addException(IExceptionSequence exception)
IExceptionSequence
addException in interface IExceptionSequenceexception - ExceptionIExceptionSequence.addException(com.sapportals.portal.pcd.gl.IExceptionSequence)public boolean hasNextException()
IExceptionSequence
hasNextException in interface IExceptionSequenceIExceptionSequence.hasNextException()public IExceptionSequence getNextException()
IExceptionSequence
getNextException in interface IExceptionSequenceIExceptionSequence.getNextException()public Iterator getNextExceptions()
IExceptionSequence
getNextExceptions in interface IExceptionSequenceIExceptionSequence.getNextExceptions()| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
-
|
EP-PIN
|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
BC-PIN-PCD
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||