public class PortalComponentException extends PortalRuntimeException
| Constructor and Description |
|---|
PortalComponentException(String s)
PortalComponentException constructor.
|
PortalComponentException(String s,
Throwable exception)
Exception wrapper constructor.
|
PortalComponentException(Throwable exception)
Exception wrapper constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
overloads the superclass implementation to provide move details including the name of the component
the associated class and the user information if exists.
|
void |
setDetail(IPortalComponentRequest request)
this methods is called to provide further information about the context of the
exception.
|
void |
setDetail(String userName,
String componentName,
String componentClass)
this methods is called to provide further information about the context of the
exception.
|
getCause, getException, printCausedBy, printStackTrace, printStackTrace, printStackTrace, setCause, setException, toHTML, toTextaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic PortalComponentException(String s)
s - a short String describing the exceptionpublic PortalComponentException(Throwable exception)
exception - a Throwable object referring to the original
exceptionpublic void setDetail(IPortalComponentRequest request)
request - The portal component request containing the current
component contextpublic void setDetail(String userName, String componentName, String componentClass)
userName - componentName - componentClass - public String getMessage()
getMessage in class Throwable| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/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