Oracle9iAS Portal Developer Kit

Exceptions that providers can raise

Provider implementations can use the following exceptions. They are specified in the wwpro_api_provider package.

Exception names and definitions

PROVIDER_VALIDATION_EXCEPTION

The call to the API contained invalid information about the provider.

PROVIDER_NOT_FOUND_EXCEPTION

The specified provider cannot be located.

PROVIDER_EXECUTION_EXCEPTION

An unexpected error occurred while executing the requested provider or API.

PROVIDER_SECURITY_EXCEPTION

The user does not have the appropriate privileges to run the API.

PROVIDER_NOT_LOCAL_EXCEPTION

The API cannot be executed on providers that are not on the local node.

PROVIDER_REMOVAL_EXCEPTION

An error occurred during the deletion of a provider.

PROVIDER_NOTDELETE_EXCEPTION

A call is attempting to delete a provider that is not allowed to be deleted.

PROVIDER_REGISTRTN_EXCEPTION

An unexpected error occurred while attempting to register the provider.

PROVIDER_CALLREG_EXCEPTION

The call to the provider's registration function (i.e. register_provider) caused an exception to be raised.

PROVIDER_CALLDEREG_EXCEPTION

The call to the provider's deregistration function (i.e. deregister_provider) caused an exception to be raised.

 

 

PORTLET_NOT_FOUND_EXCEPTION

The provider could not find the specified portlet.

PORTLET_VALIDATION_EXCEPTION

The provider gave invalid information for the portlet.

PORTLET_SECURITY_EXCEPTION

The user does not have the appropriate privileges to run the portlet.

PORTLET_EXECUTION_EXCEPTION

An error occurred while attempting to execute a portlet.

PORTLET_PARAMETER_EXCEPTION

An error occurred during the call to the provider's method describe_portlet_parameters.

PORTLET_OFFLINE_EXCEPTION

The provider which the portlet belongs to is currently offline.

 

 

ADD_PORTLET_EXCEPTION

An error occurred while attempting to add a portlet.

DELETE_PORTLET_EXCEPTION

An error occurred while attempting to delete a portlet.

REFRESH_REPOSITORY_EXCEPTION

An error occurred while attempting to refresh the portlet repository.

 

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio