|
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
java.lang.RuntimeException
com.sapportals.portal.prt.runtime.PortalRuntimeException
com.sapportals.portal.prt.resource.ResourceException
public class ResourceException
ResourceException is thrown when there is a mismatch between the resource type provided and the real resource type or when the class implementing the IResource interface is not able to parse the resource.
| Constructor Summary | |
|---|---|
ResourceException(String s)
ResourceException constructor. |
|
ResourceException(String s,
Throwable exception)
Exception wrapper constructor. |
|
ResourceException(Throwable exception)
Exception wrapper constructor. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.sapportals.portal.prt.runtime.PortalRuntimeException |
|---|
getCause, getException, printCausedBy, printStackTrace, printStackTrace, printStackTrace, setCause, setException, toHTML, toText |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceException(String s)
s - a short String describing the exceptionpublic ResourceException(Throwable exception)
exception - a Throwable object referring to the original
exception
public ResourceException(String s,
Throwable exception)
s - a short String describing the exceptionexception - a Throwable object referring to the original
exception| Method Detail |
|---|
public void setDetail(String docBase,
IResource resource)
docBase - The resource home pathIResource - The resource where the problem occuredpublic 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] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[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 NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||