|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Exception Summary | |
|---|---|
| DescriptorNotCreatedException | Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com). |
| HandlerNotFoundException | Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com). |
| ObjectNotCreatedException | Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com). |
Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com).
Provides exception classes for the PCM wizard toolkit. These exceptions are caught by a specific wizard and indicate a design-time error.
The following is an example of when to use these exceptions:
public Class MyHandler extends AbstractObjectTypeHandler implements IService {
public static final String KEY = "com.sap.portal.admin.mywizard.handlers.myHandler";
public Object createObjectDescriptor(String targetId, CreateMethod method,
IWizardContext context) throws DescriptorNotCreatedException {
IObjectsManager manager = (IiViews)PortalRuntime.getRuntimeResources()
.getService(IMyProviderManager.KEY);
try
{
return manager.instantiateDescriptor(method,
targetId,
context.getRequest().getUser());
} catch (ObjectNotFoundException onfe)
{
throw new DescriptorNotCreatedException(onfe, "MyHandler Failed to create descriptor.");
} catch (OperationFailedException ofe)
{
throw new DescriptorNotCreatedException(ofe, "MyHandler Failed to create descriptor.");
}
}
}
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||