public class ResourceException extends PortalRuntimeException
| Constructor and Description |
|---|
ResourceException(String s)
ResourceException constructor.
|
ResourceException(String s,
Throwable exception)
Exception wrapper constructor.
|
ResourceException(Throwable exception)
Exception wrapper constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
overloads the superclass implementation to provide move details
|
void |
setClassName(String className)
sets the name of the class responsible of the exception
|
void |
setComponentName(String componentName)
sets the component name responsible of the exception
|
void |
setDetail(String docBase,
IResource resource)
This methods is called to provide further information about the context
of the exception.
|
void |
setResourceName(String resourceName)
Sets the resource location of the resource responsible of the exception.
|
void |
setResourceType(String resourceType)
Sets the resource type responsible of the exception
sets the resource type responsible of the exception
|
getCause, getException, printCausedBy, printStackTrace, printStackTrace, printStackTrace, setCause, setException, toHTML, toTextaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic ResourceException(String s)
s - a short String describing the exceptionpublic ResourceException(Throwable exception)
exception - a Throwable object referring to the original
exceptionpublic void setDetail(String docBase, IResource resource)
docBase - The resource home pathresource - The resource where the problem occurredpublic void setResourceType(String resourceType)
resourceType - public void setClassName(String className)
className - public void setComponentName(String componentName)
componentName - public void setResourceName(String resourceName)
resourceName - 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